Sign in
RickAndMSFT on Azure & MVC
Filling the Azure Gap
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
ASP.Net
Azure
MVC
Archive
Archives
February 2013
(1)
December 2012
(2)
November 2012
(1)
October 2012
(1)
September 2012
(2)
August 2012
(4)
June 2012
(3)
March 2012
(2)
February 2012
(1)
January 2012
(2)
November 2011
(1)
August 2011
(2)
July 2011
(1)
May 2011
(2)
April 2011
(2)
March 2011
(1)
February 2011
(2)
January 2011
(1)
August 2010
(2)
December 2009
(2)
November 2009
(1)
October 2009
(3)
August 2009
(2)
July 2009
(1)
June 2009
(1)
January 2009
(1)
December 2008
(2)
November 2008
(1)
October 2008
(1)
September 2008
(1)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
RickAndMSFT on Azure & MVC
Securing your ASP.NET MVC 3 Application
Posted
over 2 years ago
by
Rick_Anderson
21
Comments
Executive Overview You cannot use routing or web.config files to secure your MVC application. The only supported way to secure your MVC application is to apply the [ Authorize ] attribute to each controller and action method (except for the login/register...
RickAndMSFT on Azure & MVC
Securing your ASP.NET MVC 4 App and the new AllowAnonymous Attribute
Posted
over 1 year ago
by
Rick_Anderson
11
Comments
2 March 2013 Update: Added security links 20 June 2012 Update: Cookieless Session and Authentication not supported in ASP.NET MVC. Executive Overview You cannot use routing or web.config files to secure your MVC application. The only...
RickAndMSFT on Azure & MVC
Cascading DropDownList in ASP.Net MVC
Posted
over 1 year ago
by
Rick_Anderson
19
Comments
I have written a simple sample showing how to implement cascading drop down lists in ASP.Net MVC. In this sample the user is presented with a list of countries. Once a country is selected, a new drop down list is appears showing the states...
RickAndMSFT on Azure & MVC
MVC FAQ
Posted
over 4 years ago
by
Rick_Anderson
2
Comments
Please post corrections/submissions to the MVC Forum . Include MVC FAQ in the title. MSDN articles with Full project samples (vb and c#) (MVC 2) MVC Best Practices Kazi Manzur Rashid's MVC Best Practices (great 2 part series) Performance Security...
RickAndMSFT on Azure & MVC
Dynamic V Strongly Typed Views
Posted
over 2 years ago
by
Rick_Anderson
11
Comments
There are three ways to pass information from a controller to a view in ASP.NET MVC 3: As a strongly typed model object. As a dynamic type (using @model dynamic) Using the ViewBag I’ve written a simple MVC 3 Top Blog application to compare and contrast...
RickAndMSFT on Azure & MVC
Test your ASP.NET MVC or WebForms Application on IIS 7 in 30 seconds
Posted
over 2 years ago
by
Rick_Anderson
7
Comments
A frequent complaint in the ASP.NET forums is that an application works fine with Cassini (AKA, the built in Visual Studio Development Server), but fails when deployed to a real IIS server. The two most common reasons for this failure are: Cassini runs...
RickAndMSFT on Azure & MVC
Enabling IIS 7.X on Windows 7, Vista SP1, Windows 2008, Windows 2008/R2
Posted
over 2 years ago
by
Rick_Anderson
5
Comments
To set up IIS to run ASP.NET applications (including MVC 3 and Web Matrix): Install the Microsoft Web Platform Installer 3.0 from here . Run the Web Platform Installer (WPI) and select Products on the top and Server in the left pane. Click...
RickAndMSFT on Azure & MVC
Installing and using SQL Server Data Tools (SSDT) on Visual Studio 2010 and VWD
Posted
10 months ago
by
Rick_Anderson
5
Comments
This blog post shows how to Install SQL Server Data Tools on Visual Studio 2010 and Visual Web Developer/2010. This MSDN article, also shows how to install Install SQL Server Data Tools. Launch WPI 4.0 ( Web Platform Installer ) Select All in the left...
RickAndMSFT on Azure & MVC
InitializeSimpleMembership Attribute and SimpleMembership Exceptions
Posted
10 months ago
by
Rick_Anderson
12
Comments
The InitializeSimpleMembership Attribute ensures that before any membership (login/register) related functionality is run, that the membership database has been created. If the database is not yet created, the code will automatically create one. If the...
RickAndMSFT on Azure & MVC
ASP.NET MVC DropDownList, MultiSelect and jQuery
Posted
over 1 year ago
by
Rick_Anderson
4
Comments
The most frequently posted question in the ASP.NET MVC forums is about how to use the DropDownList ( DDL ) helper. To address this question, I wrote the tutorial Using the DropDownList Helper with ASP.NET MVC , which covers most DropDownList scenarios...
RickAndMSFT on Azure & MVC
Adding Bundling and Minification to Web Forms
Posted
10 months ago
by
Rick_Anderson
10
Comments
My B/M tutorial provides a good introduction to benefits of Bundling and Minification. You should read it to become familiar with the bundling and minification. This blog will focus on using B/M with Web Forms, my B/M tutorial focused on ASP...
RickAndMSFT on Azure & MVC
Explicit connection string for EF
Posted
over 5 years ago
by
Rick_Anderson
6
Comments
The default constructor for the ObjectContext class in the Entity Data Model (EDM) retrieves the construction string from the web.config or app.config file. If you have multiple data models or need to pass in the the construction string at run time you...
RickAndMSFT on Azure & MVC
Better, Faster, Easier SSL testing for ASP.NET MVC & WebForms
Posted
over 2 years ago
by
Rick_Anderson
5
Comments
ScottHa has a great blog Working with SSL at Development Time is easier with IISExpress , but I’ve got what I think is a better approach. Please weigh in. In this blog entry I’ll show you how to test SSL on your ASP.NET MVC & WebForms applications...
RickAndMSFT on Azure & MVC
Should my database calls be Asynchronous?
Posted
over 4 years ago
by
Rick_Anderson
3
Comments
Update 28 November 2012: The combination of await, async, and the Task object makes it much easier for you to write asynchronous code in .NET 4.5. Now that EF 6 is supporting Async Query and Save , you should take advantage of asynchronous programming...
RickAndMSFT on Azure & MVC
Top Azure Tips and Best Practices
Posted
5 months ago
by
Rick_Anderson
2
Comments
Tom Dykstra and I have just published an Azure multi-tier tutorial with the complete source. It has many valuable programming tips and best practices you can’t find anywhere else. Learn how to use Windows Azure Storage tables, queues, and blobs in a multi...
RickAndMSFT on Azure & MVC
Using CDNs and Expires to Improve Web Site Performance
Posted
over 2 years ago
by
Rick_Anderson
3
Comments
Much has been written on the advantages of using a Content Delivery Network (CDN) to deliver static content ( jQuery , images, CSS files, etc.). (If you’re not familiar with CDNs, read ScottGu’s blog post Announcing the Microsoft AJAX CDN ...
RickAndMSFT on Azure & MVC
Response.Redirect and ASP.NET MVC – Do Not Mix
Posted
over 1 year ago
by
Rick_Anderson
1
Comments
Update 28 November 2012 : HttpResponse.Clear is safe but not recommended since it is a violation of the MVC pattern. If you’re calling Clear(), then by definition you started doing one thing (like setting headers, writing to the response, etc.)...
RickAndMSFT on Azure & MVC
Tips on getting your ASP.NET MVC questions answered quickly
Posted
over 4 years ago
by
Rick_Anderson
4
Comments
When you run into an issue or have a question about ASP.NET MVC the best place for it is the MVC Forum . When you write your question, there are a few simple things that you can do to make it easier for the ‘experts’ to answer (and hence to get...
RickAndMSFT on Azure & MVC
Adding Web Optimization to a Web Pages Site
Posted
10 months ago
by
Rick_Anderson
1
Comments
Adding bundling and minification (B/M) in a Web Pages site follows the same formula ASP.NET MVC and Web Forms use: Declare and register bundles. Consume bundles from within your views. This blog entry describes the basics of using B/M in a Web Page...
RickAndMSFT on Azure & MVC
Handling Optimistic Concurrency Exception with EF and MVC 3
Posted
over 2 years ago
by
Rick_Anderson
4
Comments
I've written a simple MVC 3 application to demonstrate handing optimistic concurrency exceptions with Entity Framework (EF). Browsers make it easy to test optimistic concurrency; right click on an edit link and select Open in New Tab , then select the...
RickAndMSFT on Azure & MVC
How to create an updateable view with ADO Entity Framework and with LINQ to SQL
Posted
over 5 years ago
by
Rick_Anderson
5
Comments
Creating an update-able view with ADO Entity Framework (EF) or LINQ to SQL (L2S) is a fairly advanced topic and not directly associated with Dynamic Data. At the end of the article I have a sample console application to verify the modified L2S data model...
RickAndMSFT on Azure & MVC
Async ASP.NET MVC, Web Forms and Web API
Posted
over 1 year ago
by
Rick_Anderson
1
Comments
I’m pleased to announce two new asynchronous tutorials for ASP.NET 4.5: Using Asynchronous Methods in ASP.NET MVC 4 Using Asynchronous Methods in ASP.NET 4.5 The .NET Framework 4.5 builds on this asynchronous support with the await and async keywords...
RickAndMSFT on Azure & MVC
Session less MVC Controller for MVC 2 / RC
Posted
over 4 years ago
by
Rick_Anderson
0
Comments
LiveJournal Tags: MVC , MVC 2 , session Why a session less controller? Update 5 Feb 2010 – The latest MVC 2 futures on CodePlex contains the the RenderAction() fix – this sample is no longer needed for a session less controller. Use the futures version...
RickAndMSFT on Azure & MVC
Using the HTML5 and jQuery UI Popup Calendar with ASP.NET MVC
Posted
over 2 years ago
by
Rick_Anderson
1
Comments
Motivated by Rachel Appel’s terrific blog post Create user friendly date fields with ASP.NET MVC EditorTemplates & jQueryUI , I created a full featured article on the topic. You can find my article here . In addition to the great information...
RickAndMSFT on Azure & MVC
Securing your MVC Application
Posted
over 3 years ago
by
Rick_Anderson
1
Comments
Executive Overview You cannot use routing or web.config files to secure your MVC application. The only supported way to secure your MVC application is to use a base class with an [ Authorize ] attribute, and then have each controller type subclass...
Page 1 of 2 (49 items)
1
2