Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8268231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T05:48:29+00:00 2026-06-08T05:48:29+00:00

I am developing a new web application for the Windows Azure cloud, but have

  • 0

I am developing a new web application for the Windows Azure cloud, but have become confused by all the available guidelines, best pratices, storage possibilites, caching and security. I have watched a ton of videos, and read a ton of documentation, but the more I read, the more confusion is added to the layer of decision making. Here is what I what want:

1 – Develop a web application where users can login using a email/password combination. When logging in the user will have a session containing a combination of a UserID+CustomerID. The UserID+CustomerID will be used to display specific data for this user. The application is for law firms, so the security has to be very tight. The application will have 10000+ users, and maybe around 200-500 concurrently. I have read that ASP.NET Sessions should be stored in the Shared Caching service in order for Sessions not to be reset in case of a node upgrade/faulty node. As far as I understand there is 100 transactions per second limit on 128 mb cache – I am not sure this works – If I am getting Session data from the Cache will this count as one transaction?

In an old application I am using code like this (is this approach the right one for Azure, or should I develop some custom Session management system for handling? Any code samples?):

    protected void CustomValidatorLogin_ServerValidate(object source, ServerValidateEventArgs args)    
    {
        string result = String.Empty;
        if (DataAccess.User_Logon(this.txtEmail.Text, this.txtPassword.Text, Request.UserHostAddress, Request.UserAgent, ref result)
        {
           args.IsValid = true;
           FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(1,    this.txtEmail.Text, DateTime.Now, DateTime.Now.AddMinutes(Constants.sessionExpires), false, result);
           HttpCookie cookie = null;
           if (cbRemember.Checked)                
           {
              FormsAuthenticationTicket sticket = new FormsAuthenticationTicket(1, result, DateTime.Now, DateTime.Now.AddMinutes(Constants.sessionExpires), false, result);
              cookie = new HttpCookie(FormsAuthentication.FormsCookieName + Constants.cookiePrefix, FormsAuthentication.Encrypt(sticket));
              cookie.Expires = DateTime.Now.AddYears(1);
           }
           else
           {
            cookie = new HttpCookie(FormsAuthentication.FormsCookieName + Constants.cookiePrefix, string.Empty);
            cookie.Expires = DateTime.Now.AddYears(-1);
        }
            Response.AppendCookie(cookie);
            FormsAuthentication.SetAuthCookie(result, false);
        }
        else
        {
            args.IsValid = false;
        }
    } 

2 – Similar, according to this
http://www.windowsazure.com/en-us/develop/net/best-practices/security/
there is a ton of security considerations I should be aware of.
Could anybody recommend some code samples on how to create login
functionality taking these best-practices into?

3 – The system will allow users to save data (upload files) which can later be downloaded, deleted, updated. The files will both be user-specific (UserID), but also customer specific (CustomerID). A user can for example upload a file the only he will have access to (UserID), but he can also upload a file that will be available to the entire organization (the law firm) based on CustomerID. I am confused whether to choose BLOB or Tables and why. In addition what would then be the best practice to implement such functionality.

4 – I am thinking about using Enterprise Library for Data Access Layer – does anybody know a good video walkthrough for newcomers to Azure?

This is a awful lot of questions I know, but still hoping for some expert recommendations.

Cheers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T05:48:30+00:00Added an answer on June 8, 2026 at 5:48 am

    It sounds like you are making some key design decisions for a production application, so I would strongly encourage you to work with an expert and not rely on forum advice alone for something this fundamental.

    Regarding item 1 (security), the security best practices article you referenced is a good one but it won’t make your decisions for you. As it points out, there are many ways to handle identity, and Windows Azure doesn’t make you do it a certain way. The most modern way to handle identity Is called claims-based security. If you go with claims-based security, you will need to decide who your identity provider (IP) is. That could be a domain (via Active Directory), a social-web network provider (such as Google or Yahoo or Facebook), or your own custom security token service backed by a credentials database. If you want to support multiple identity providers (so users have a choice of how they sign in), you would want to leverage Windows Azure’s Access Control Service as an intermediary. Make sure your IP(s) can provide the information you need to make good authorization decisions.

    Regarding item 2 (security samples), I recommend trying out the hands-on labs in the Windows Identity Developer Training Kit. That will give you a good feel for what claims-based security is like.

    Regarding item 3 (saving and retrieving file-oriented data) blob storage would be the logical service to use. You’ll need to provide an access layer and user interface in order to provide the security and sharing features you described.

    Regarding item 4 (using Enterprise Library for Data Access on Windows Azure), this article may be helpful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a new web application, but just found out I am required
we have a production site like www.Domain1.com, and developing a new web application www.domain2.com,
I am developing a new web application in Rails 3.2. I have come to
I'm developing a web application for a new service, starting from Firefox 3.5. The
I'm currently developing a new web application. This is the first time I'm using
I am an experienced developer but I am new to web application development. Now
I'm exploring several possibilities for developing a new system (web application). I'm an old
I'm developing a new web-based financial application for our company that provides online real-time
I am developing a new web application from scratch. I need to provide multi-language
I am developing a web application with Play! Framework using Notepad++ on windows xp.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.