Ession State Provider In Azure?
Feb 8, 2011
As far as I know, the current situation is this:Use SQL session state provider is possible (as I've read somewhere) but it's not supported by Microsoft. So it could stop working in the future. Also it needs a WorkerRole to delete the outdated data.Azure AppFabric Caching Service is still in CTP.TableStorageSessionProvider is a piece of code in the Azure training kit that is not recommended for production code.
View 2 Replies
Similar Messages:
Mar 22, 2011
I want to use a global data for MVC web application running on Windows Azure (e.g. something like a list of users having new messages).
For a normal webapp, I could use some per-appdomain storage like AppDomain.SetData or just static variable. What should I use for Azure instead (cache? blob storage? queues?) and what solution would be the fastest one?
View 3 Replies
Aug 27, 2010
Am looking for a third party tool/provider of session state/caching in an ASP.NET context.
View 2 Replies
Jan 16, 2011
I know this question is related to many others, but please bear with me.I am trying an experiment to store all information in database tables instead of the ASP.NET session. In ASP.NET 4 one can create a custom provider for session. So, again should I implement a Custom Session-State Provider or should I just disable session (in Web.config)?From the comments my question can be misunderstood. Hopefully this tidbit will help clarify:don't want to store the session in the database. I want to store information in the database that you would typically store in the session. One reason why: I don't want to carry around a session on every page, especially if thapage doesn't care about 90 percent of the information in the session
View 1 Replies
Jul 19, 2010
I use custom session state provider (appfabric). I marked my pagecontroller class with [Serializable]. When i redirect a page i get error HttpContext is not marked as serializable. I have a property in pagecontroller class;
[Code]....
Is this piece of code may be the main reason for serialization error ? I use the it nearly everywhere, so i can not simply detach and test it.
View 3 Replies
Sep 27, 2010
I have watched the how to video on Creating a Custom Membership provider. So far it works great. My login control interacts well with it etc. Now i've created a Custom Role Provider. I've created a class that inherits the RoleProvider base class and i've added code to each Sub. My question is, what is the best way to implement the role provider, considering I get the Roles etc from the database?
View 11 Replies
Jul 27, 2010
I am trying to build an application that
1. user can login by their AD account and password.
2. AD account can be assigned to different group.
I know there is a training video - [URL] to teach how to use the tool to provision the membership schema to SQL server for Forms authentication. but how can I use AD authentication with this?
View 1 Replies
Apr 16, 2010
I try to get the user profile settings with this code. But all items in it are empty, in the database they are not empty. So there is going something wrong. First of oll how can i add a provider to the ProfileCommon ? Maybe i'm there then... the usrInfo is filled well...
MembershipUser usrInfo = Membership.Providers["MyMembershipProvider"].GetUser(UserName,false);
ProfileCommon prf = (ProfileCommon)Profile.GetProfile(UserName);
LitNaam.Text = prf.Voorletters.ToString() + " " + prf.Achternaam.ToString();
View 2 Replies
Dec 1, 2010
i have implemented custom role provider and membership provider .
login page : SignIn.aspx
on successful login it redirects to (index-Homepage.aspx)
now PROBLEM is when it successfully logged in ,and redirects to 'index-Homepage.aspx' it gives Anornymoustemplate ..while its verifying the role correctly in index-Homepage.aspx.cs
View 1 Replies
Dec 1, 2010
1 - whats the difference between Role Provider and Membership provider ??
2- If we implement Custom Role Provider or Custom Membership provider then what does this means ? and which Provider do we use when we apply custom role provider or custom membership provider
View 4 Replies
Mar 27, 2010
i'm building an application and i need to manage roles, users and more things so i tought to use the membership provider but i have some questions about it: can i full extend it and can i override the functions to use a database table to store infos about config or i need to build my own provider?
View 4 Replies
Dec 16, 2010
<profile>
<providers>
<clear/>
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
</providers>
<properties>
<add name="FirstName"/>
<add name="LastName"/>
</properties>
</profile>
I have the code snippet above in my webconfig file. I am attempting to set the FirstName property in codebehind on a register.aspx page. Like this:
Profile.FirstName = ((TextBox)RegisterUser.CreateUserStep.ContentTemplateContainer.FindControl("FirstName")).Text;
VS says Profile is in System.Web.Profile Namespace. I then use it like this "System.Web.Profile.FirstName", but says first name does not exist in System.Web.Profile.FirstName namespace.
How do I set the property and later retrieve it?
View 3 Replies
Jan 26, 2010
Need to nut out Azure fast (not my choice), so figured I'd ask for pointers.
Basically went over the why and what, and started with the training kit.
Anyone recently had to get his hands dirty with azure and know some good resources?
View 5 Replies
Feb 28, 2011
Where I work, we're planning to develop a web application (for internal use) with the help of ASP.NET MVC, me being the intended developer. I have no real background in web app development, but I have dabbled a bit with RoR in my spare time and loved that way of doing things. At work .NET is de rigeur however, so I am looking at ASP.NET MVC (looks promising so far, for that matter).
Since we're new to developing web applications, we're unsure about how to best handle the administration of the application's platform (i.e., the web server and the database server etc.), and are wondering if we might be better off deploying it on Azure. While I know that there is support for ASP.NET MVC on Azure, I don't know the concrete methods of managing an application throughout its lifecycle: create it initially, deploy new versions, change database schema etc. On the other hand, I know at least superficially how to manage Rails applications on Heroku.Could someone please provide us with some much needed advise on running ASP.NET applications on Azure compared to on-premise, and thus help us decide? If we could be pointed toward some practical info, tutorials perhaps, showing how an ASP.NET MVC application (or even just a straight ASP.NET application) on Azure is managed throughout its lifecycle,
View 3 Replies
Jan 31, 2011
I'm getting close to finishing a public-facing ASP.Net app and I'm starting to weigh deployment options. I'm an ASP.Net/SQLServer veteran but noob when it comes to Azure. I'm wondering how others have felt about the learning curve to effectively migrate a local dev ASP.Net/SQLServer apps into Azure cloud. More specifically:How steep is the learning curve towards understanding administration and programming concepts, and do you think it's worth the investment?What is Microsoft's support like if I have catastrophic problems from my cloud infrastructure and my live site is down? My expectation is a large price tag for a not-so-urgent SLA.Will my non-Azure ASP.Net app require significant modification and/or coupling to run in the Azure environment?
View 4 Replies
Mar 8, 2011
When i am trying to run azure webpreoject i am getting the following error.
[Code]....
View 1 Replies
Feb 2, 2011
I'm currently running a site of a dedicated server but want to scale up using Microsofts Azure cloud platform in the future but im unsure if a certin part of my code will work on azure.The site consists of a gallery of items with an image for each item.The images are stored in a sqlserver database.
I have created a http handler that caches the images to disk and redirects the request to the image (as shown at the end of the post).The images are saved into a virtual directory called "imagecache" inside my ASP.NET application. (i.e. ~/imagecache/ ).
As the web app will run in many virtual machine instances on the Azure platform the images will need to be shared between the instances right?So my question really is.. What is the best way of achieving what I already have on that is compatible wit azure?Image gen code..
public class getimage : IHttpHandler {
private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
public void ProcessRequest (HttpContext context) { [code]....
View 2 Replies
Mar 30, 2011
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?
View 2 Replies
Nov 27, 2010
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.
View 3 Replies
Dec 6, 2010
We're currently refactoring our ASP.NET 4.0 Web Application to run on both plain old IIS and Azure. For the Settings (in the Properties namespace), I'd like to implement the State Pattern with an AzureSettingsState and a StandaloneSettingsState, which both provide settings getter methods.Now could anybody help me figuring out how ASP.NET deserializes the non-String values (e.g. TimeSpan or StringCollection), so that I can deserialize them on my own in the context class? All settings seem to be strings there.
public abstract class ConfigStateBase
{
public abstract string GetSettingValue(string setting);
}
View 1 Replies
Feb 13, 2010
Is it possible to run ASP.NET 1.1 on the Windows Azure?
View 1 Replies
Mar 1, 2011
Currently I am working on an MVC 2 project and we are trying to implement fulltext search. Originally we were going to take advantage of SQL Server fulltext search capabilities but we are aware that the project will be moving to Azure within 6 months.I understand that SQL Azure does not support fulltext search currently. What are the possible solutions to implement full text search in Azure? The solutions we've come across seem to point to Azure Library for Lucene.Net but I want to make sure we aren't overlooking any better solutions.
View 1 Replies
Feb 20, 2010
I need a walkthrough or steps of how to deploy ASP.NET Website on Windows Azure.
View 3 Replies
Feb 15, 2010
I want to create a simple ASP.NET MVC RESTful API, but I want to create it on Azure.tips & tricks, or examples on how to do this?
View 2 Replies
Sep 13, 2010
I need to log entries into a log file.This should be done in the data access layer.At present,I am using the standard IO for making the log entries.But I need to use the log4net provider instead of standard IO for the log provider.I have added the log4net as a reference to my project.
View 10 Replies