C# - Windows Azure AppFabric ACS - Adding Custom STS
Mar 29, 2011
I've currently got Windows Azure AppFabric system set up and running with my own registered Namespace, in which uses the Google/Yahoo/Windows Live STS providers. That all works fine, I can use them and login to my application. Easy.
However, I can't find anything in any way useful on the web that related to adding my own STS to this list from a 3rd party supplier. I've read that it's possible, and it's the last hurdle I'm stuck on here - replacing the Google/Yahoo/Windows Live STS with the ones I need my application to authenticate with. I cannot find anywhere in the STS control panel to allow for this (AppFabric Labs).
There seems to be very limited information floating around the net about this .I'm running the AcmBrowser.exe to integrate AD FS 2.0 with AppFabric (ACS), yet the authentication service as default tries to point to accesscontrol.windows.net, which is an unaccessible domain and the AppFabric labs resolve to accesscontrol.appfabriclabs.com - so is this a case of the AcmBrowser not being updated by Microsoft?
I've changed the URL in the AcmBrowser code and run the program, in which now comes back as invalid token issuer - when I've taken the management key directly from the ACS (Administration -> Management service -> Management client -> Symmetric Key?).
Is there anyone out there that's facesd this issue before? I believe it's the last step I need to take of syncing my AD FS 2.0 with ACS + Relying Party.
I just downloaded and installled the Microsoft Windows Azure SDK yesterday for the first time and I am having issues running the application as I all I am getting is 503 errors. I run Windows Server 2008 R2 on my development machine and even tested it on another co-workers 2008 R2 and couldn't even compile the application. He got this error instead "A problem occurred while trying to set the "References" parameter for the IDE's in-process compiler. Error HRESULT E_FAIL has been returned from a call to a COM component."
From within my Windows Server 2008 R2 Hyper-V Virtual Windows 7 x86 enviroment, I was able to successfully build and run the Windows Azure SDK and it even showed the base ASP.NET application.So my question is, does the Windows Azure SDK for Visual Studio 2010 w/ Visual Studio 2010 SP 1 installed not work under Microsoft Server 2008 R2?
I would like to know the version of ASP.NET supports using Windows AppFabric caching for session management or is it just about using the AppFabric session provider
This is going to be a question really for someone who has knowledge with PingIdentity and ACS, which could be pretty limited.I've got my ACS set up, all working fine and I know how to add a custom STS (PingIdentity) but I can't find any of the PingIdentity Federation MetaData (FederationMetaData.xml) to authenticate with.
Apparently our current system's workflow is such:
Us -> Our PingIdentity server -> Supplier -> Supplier's PingIdentity server -> Route token back to us.
Would I have to use our local PingIdentity Federation MetaData as the STS in order to achieve what I'm looking for (same scenario, but with ACS)? And where can I find this?
does windows azure automatically scale up(by providing more instances), or I need to change this? the extra small instance costs 0.05$/hour. According to Azure SLA I need to use at least 2 instances. This means 2 * $0.05*24*30=$72/month minimum. I can get on premise asp.net hosting for $5/month. Is there any offer I don't know about so I can build from the start on Azure architecture, or should I just switch to azure when I need more scaling and other servies that Azure offers because the difference in price is too high for me.
I'm migrating an ASP .NET 2.0 WebSite to WebRole (ASP.NET 4.0 and VS2010). After created new web role, I moved all files and folders from website to WebRole then reference all needed dlls. I build and run web role stand alone and everything ok without problems. But when I build and run WindowsAzureProject, below errors come up
[fabric] Role state Stopping [fabric] Role state Stopped [fabric] Role state Aborted [fabric] Role state Teardown [fabric] Role state Destroyed [runtime] Role entrypoint could not be created: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) at System.Reflection.Assembly.GetTypes() at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.CreateRoleEntryPoint(RoleType roleTypeEnum) at Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironment.InitializeRoleInternal(RoleType roleTypeEnum)
and the status "Operation was canceled" It takes me days to resolve but nothing found. I did set "Copy local" to true for all reference dlls but it doesn't effect also. I've just thought spring.core and spring.aop caused the error but I don't know how to debug and catching where it crash
I have written an web application in VS2010 ASP.net C#, to display Crystal reports. I moved this application to Azure Emulator. It was working fine locally. However after deploying it with Azure, crystal report is not getting displayed and not even an exception is thrown.
I have installed
Installed CRforVS_13_0.exe
Then installed CRRuntime_64bit_13_0, on my machine sequentially.Any input from any1 will be helpful. Please let know if you want more information.
My current ASP.NET site requires to launch FFMPEG.EXE to convert uploaded videos. With shared web hosting server, can't be done but via a Virtual Private Server (VPS) or a dedicated server.
I've been reading some info about Windows Azure but haven't found any info regarding:
1. Be able to launch external executable
2. Be able to remote desktop into the allocated virtual machines
We have a Web Role that we are hosting in Windows Azure that uses an old ASMX based Web Reference to contact an external system. The Web Reference proxy code is big enough that instantiating it the first time has a significant cost.
We'd like to be able to have this run when the Web Role starts instead of on the first request.
I know IIS 7.5 has an Application Warm-Up module that would allow us to achieve this, but I'm having trouble figuring out if something similar exists with hosting on Windows Azure.
I have a Silverlight/RIA application that worked fine locally and on my IIS 7 server. Now that I've moved it to Azure, I'm getting EndpointNotFoundExceptions.
[EndpointNotFoundException]: There was no channel actively listening at [URL]
DomainService.svc/binary/SeviceEndpoint
ive seen the solution for wcf services here [URL] but im not sure if this is also applicable for ria services
In one of our ASP.NET Web site solutions I need to roll out an update that might take reasonable time. It spawns multiple Windows Azure Workers and projects and so simple Deployment Swap is ruled out.
Essentially I'm just thinking about way to redirect all web requests to a "site is under maintenance" page for some time, given the project is under Windows Azure.
I'm aware of the app-offline.htm trick with IIS, but I doubt that Azure Web Role will allow this one to be deployed or run (it spins down the app domain).
AppFabric's DataCacheFactory takes long time to initialize so I am trying to create it once and re-use it in next requests. Currently, the best idea I have is to store it in HttpContext but I also have some WCF services (which don't have HttpContext set). Any other ideas where and how I should handle this?
When I initialize my client to connect to AppFabric's cache, it seems to inconsistently take up to 30 seconds to connect on the following line:
factory = new DataCacheFactory(configuration);
See full Init() code below - mostly taken from here.I say inconsistently because sometimes it takes 1 second and other times 27, 28 , etc ... seconds. I have an asp.net site using the AppFabric cache - which lives on a different box (on the same domain). Everything is working great, except for the inconsistent connection time. When it connects, its all good - I just need to get it to consistently connect in ~1 second :)
public static void Init() { if (cache == null) { Stopwatch sw = new Stopwatch(); sw.Start();
I'm completely stuck with this version 1.0.0.0 product.
I'm running in a domain environment but for the specific application i'm using I want to disable security to reduce the workload on the servers when accessing the cache.
I've got a bunch of web servers with an existing application using SQL sessions state, and the idea was to roll out AppFabric and use the session state provider and a fast solution to speed things up. Currently have a single separate server running appFabric Host.
All Servers are on the same domain.
I've got AppFabric Running using this mode on the host
Set-CacheClusterSecurity -ProtectionLevel EncryptAndSign -SecurityMode Transport
Local App Pool on the web servers is using NETWORK SERVICE account, and i've grantedthe machine accounts permissions and it all works fine.
ErrorCode:SubStatus:There is a temporary failure. Please retry later. (One or more specified Cache servers are unavailable, which could be caused by busy network or servers. Ensure that security permission has been granted for this client account on the cluster and that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Retry later.)
My assumption is that the client (session state provider), is set by default to use security and need to be set not too, but can't find any doco on how to change this, or i could be barking up the wrong tree.
I have custom gridview that inherit from the regular gridview.
On of the features is that is has a built in page size dropdown in an extra header row.
Another feature is that this extra header row has a place holder where aditional controls can be added but here is where I have some problems.
When I add a control that is created outside the gridview to the gridviews builtin placeholder and tries to do anything that performs a postback the gridview dissepears, but appears again on a new post back.
Here is the code for the gridview:
[Code]....
And this is the way it is used in a usercontrol on page, the gridview is called gvList and the control that I try to add to its placeholder is the phrExtraHeaderControls:
[Code]....
What can be wrong, is the viewstate messed up in the postback so that the gridview can't be rendered?