appfabric

Will configuring AppFabric to be my ASP.NET Session State Provider also make it the provider for MVC2 TempData?

I am setting up AppFabric to be the Session State Provider for a website we are building in Asp.Net MVC2. Since TempData is stored in the session will doing this also make AppFabric the storage provider for TempData? ...

Can AppFabric be the session state provider and use local cache?

I am using AppFabric as the session state provider in my ASP.Net MVC2 app, and I would like it to also use the local cache. I have the following entry in my web.config right after the configSections node: <dataCacheClient> <localCache isEnabled="true" sync="TimeoutBased" objectCount="100000" ttlVa...

How to retrieve on which site the web application is currently running?

Hello, I am currently running a WCF service on an AppFabric server and my application needs to load a the web.config file dynamically to retrieve custom configuration sections. On my development machine I can just load the configuration like this: WebConfigurationManager.OpenMappedWebConfiguration(webMappedFile, virtualPath); But on...

AppFabric monitoring issue, events won't travel from ASStagingTable to ASWcfEventsTable

I'm trying to get AppFabric monitoring to work but I'm stuck here. Events are being inserted into the ASStagingTable but they don't propagate to the ASWcfEventsTable. They do if I manually run the ASImportEvents sp. I use SQL server 2008 worksation edition on Windows Server 2008R2. I've verified that the AppFabric Event Collection Servi...

windows server 2003 cahing and windows server 2008 caching difference

what is a difference between Windows Server AppFabric - Windows Server 2003 Distributed Cache Client and windows server 2008 appfabric?..is it support in both?..if it is not support what? ...

How to add cache client in windows 2008 and windows 2003 server by using C# coding?

what is Windows Server 2003 Distributed Cache Client?..how to add cache client in windows 2008 server? ...

Thoughts on running Windows Service type apps on ASP .NET 4 with StartMode="AlwaysRunning".

Hi, Usually I would look at writing a Windows Service to manage tasks that aren't suited to being hosted in a web application. These types of tasks are usually long running processes or scheduled tasks. Although this is normally the primary approach for these types of tasks, people have looked at ways of running these kinds of backgroun...

SCM management of AppFabric Cache Cluster

I'm working on building out a standard set of configurations for our cache clusters within App Fabric. My goal is to have a repeatable cache settings configuration when we load up a new environment (so server names are different, number of hosts, and other environmental factors). My initial pass was to utilize the XML available from Ex...

AppFabric Caching - What are its serialization and deserialization requirements for an object?

Problem: When caching an instance of a class and immediately getting it back out of cache, i get the object back (its not null), but all of its properties / fields are null or defaults. _cacheHelper.PutInCache("testModuleControlInfoOne", mci); //mci has populated fields var mciFromCacheOne = _cacheHelper.GetFromCache("testM...

What can I do with a Facebook SessionKey/SessionSecret?

I'm working with the FaceBook integration available with Microsoft's AppFabric preview and get these claims: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier: --SomeNumberHere-- http://schemas.microsoft.com/ws/2008/06/identity/claims/expiration: 2010-09-17T05:00:00Z http://schemas.xmlsoap.org/ws/2005/05/identity/cla...

how to implement ws-at transactions in appfabric applications

in the following forum post, a microsoft person indicated that there is no ws-at transaction support exposed in AppFabric but that something abut WS-AT transactions can become involved with an AppFabric call by using the WCF transactionScope options: http://social.msdn.microsoft.com/Forums/en-US/dublin/thread/1a34bff2-1ce3-4e28-8c3b-96...

AppFabric Caching - Can I specify serialization style used for all objects?

An object which implements some custom serialization can be serialized and deserialized to different formats, for example to Xml or byte[]. I have run into a problem where when I put to cache, AppFabric runs the IXmlSerializable implementation on a class when I would rather force it to go with binary. http://stackoverflow.com/question...

Learning Windows Workflow Foundation 4, where to start?

I have been playing around with wf4 for a while. I found various articles, videos(channel 9), blog posts and sites about wf4, but couldn't able to organize it in a proper way. I look forward to create a Learning Catalog for Windows Workflow 4 with VS 2010 and IIS 7 (without AppFabric ) Windows Workflow 4 with VS 2010 and IIS 7 (with ...

How do I deploy a WCF service library to WAS?

I have created a WCF service library (not a WCF service application). The project output is a dll. How can I host this on IIS 7.5/WAS? I believed that creating a service library was the way to go so that it could be used on a variety of hosts, whereas the service application is limited to IIS. I'm getting lost in MS mumbo jumbo here, ...

AppFabric Caching - Proper use of DataCacheFactory and DataCache

I am looking for the most performant way to arrange usage of the datacache and datacache factory for AppFabric caching calls, for between 400 and 700 cache gets per page load (and barely any puts). It seems that using a single static DataCacheFactory (or possibly a couple in a round-robin setup) is the way to go. Do I call GetCache("ca...

using microsoft velocity / memcache from classic asp

hey guys can anyone tell me how to read data from cache saved in microsoft velocity from classic asp? if above is not possible, then what if i use memcache instead. then is it possible and worth it to read memcache from classic asp thanks in advance ...

Windows Server Appfabric on windows server 2008 R2 web edition

Is there any way to install the Windows Server AppFabric on the windows server 2008 web edition ? Or at least the WCF hosting enviroment. What are the supported edition for appfabric ? ...

Appropriate Values for AppFabric DataCacheFactory configuration settings?

In conversations with the AppFabric team at MS Support, I was told that the maximum tested data object size for insert to AppFabric caching was 5MB per insert. Based on that base number, could someone recommend starting values for the rest of the DataCacheFactory configuration settings that have numeric and timespan value types? The on...

Appfabric cache (Velocity): Expiration in non-expirable cache and unreadable trace log ?

Hi guys, we are using Appfabric cache in our project, and we ran into 2 major problems. First - we are using named caches (no explicitly created regions). One of them, created as Expirable=false, Eviction=none, TTL=525600 is used for objects that should be always available (populated at application start, via the Put method). But from ...

AppFabric cache and serializing IQueryable objects

Hello, I am experimenting with AppFabric caching and have run into an issue with saving retrieved data in the cache. The root of the problem is that it seems that AppFabric Caching requires the data to have DataContract and Datamember attributes applied to the class that is being saved. If that is the case, then how can I save this (si...