| |
 |
Introducing ASP.NET MVC 3 (Preview 1)
This morning we posted the “Preview 1” release of ASP.NET MVC 3. You can download it here . We’ve used an iterative development approach from the very beginning of the ASP.NET MVC project, and deliver regular preview drops throughout the development cycle. Our goal with early preview releases like the one today is to get feedback – both on what you like/dislike, and what you find missing/incomplete. This feedback is super valuable – and ultimately makes the final product much, much better. ASP.NET MVC 3 As you probably already surmised, ASP.NET MVC 3 is the next major release of ASP.NET MVC. ASP.NET MVC 3 is compatible with ASP.NET MVC 2 – which means it will be easy to update projects you are writing with MVC 2 to MVC...(read more)
[By(ScottGu's Blog)
:: Date(27/07/2010)]
|
|
 |
Entity Framework 4 “Code-First”: Custom Database Schema Mapping
Last week I blogged about the new Entity Framework 4 “code first” development option. The EF “code-first” option enables a pretty sweet code-centric development workflow for working with data. It enables you to: Develop without ever having to open a designer or define an XML mapping file Define model objects by simply writing “plain old classes” with no base classes required Use a “convention over configuration” approach that enables database persistence without explicitly configuring anything In last week’s blog post I demonstrated how to use the default EF4 mapping conventions to enable database persistence. These default conventions work very well for new applications, and enable you to avoid having to explicitly configure...(read more)
[By(ScottGu's Blog)
:: Date(23/07/2010)]
|
|
 |
VS 2010 Productivity Power Tools Update (with some cool new features)
Last month I blogged about the VS 2010 Productivity Power Tools Extensions – a free set of Visual Studio 2010 extensions that provide some really nice additional functionality. The initial Visual Studio Productivity Power Tools release included a bunch of really useful productivity enhancements – including a much faster “Add Reference” dialog, lots of code editor additions and enhancements, and some nice IDE improvements around document tab management. You can learn more about these features in my previous blog post . VS 2010 Productivity Power Tools Update Yesterday we shipped an update to the VS 2010 Productivity Power Tools which adds some nice new features and enhancements. If you already have the VS 2010 Productivity Power Tools installed...(read more)
[By(ScottGu's Blog)
:: Date(20/07/2010)]
|
|
 |
Code-First Development with Entity Framework 4
.NET 4 ships with a much improved version of Entity Framework (EF) – a data access library that lives in the System.Data.Entity namespace. When Entity Framework was first introduced with .NET 3.5 SP1, developers provided a lot of feedback on things they thought were incomplete with that first release. The SQL team did a good job of listening to this feedback, and really focused the EF that ships with .NET 4 on addressing it. Some of the big improvements in EF4 include: POCO Support: You can now define entities without requiring base classes or data persistence attributes. Lazy Loading Support: You can now load sub-objects of a model on demand instead of loading them up front. N-Tier Support and Self-Tracking Entities: Handle scenarios...(read more)
[By(ScottGu's Blog)
:: Date(16/07/2010)]
|
|
 |
Windows Phone 7 Developer Tools Beta Released
Earlier today we shipped the beta of the Windows Phone 7 Developer Tools. You can download them here . What is included in the Windows Phone Developer Tools The Windows Phone Developer Tools Beta includes: Visual Studio 2010 Express for Windows Phone – a new free, express edition of Visual Studio 2010 Express Blend for Windows Phone – a new free, edition of Blend focused on Windows Phone 7 development Silverlight for Windows Phone 7 XNA Game Studio for Windows Phone 7 Integrated with the development tools is a phone emulator that enables you to easily develop and test Windows Phone 7 applications on your laptop or desktop machine – without requiring a phone device. It is hardware accelerated, supports multi-touch events on multi...(read more)
[By(ScottGu's Blog)
:: Date(12/07/2010)]
|
|
 |
Request for Real-World Web Applications
In preparation for enhancing Visual Studio design-time experience testing, we’d like to collect a catalog of real world applications to use for performance, stress, and ad hoc testing by the Web Platform and Tools team. We’re looking for small, medium, and large applications covering a range of architectures, languages, frameworks, and features. Your contributions will help us to ensure stability and performance in the areas of greatest interest to you. These additional testing opportunities will also help us ensure that we will have more real world samples to verify every release of Visual Studio whether it is Beta, RC or RTM. If you are interested in helping us, please provide the following information: Please send an email to WptApps@live...(read more)
[By(Visual Web Developer Team Blog)
:: Date(12/07/2010)]
|
|
 |
Thoughts on WebMatrix
The WebMatrix announcement last week triggered a range of reactions on Twitter. It also brought back some personal memories. A decade ago (wow), I started a little tool to simplify using and developing asp.net server controls as a side project, and it grew bigger and was eventually released using the name "WebMatrix". It was a fun project, and my first "serious" side project so to speak. There were a few interesting things we did there, both technical and non-technical. It is great seeing similar things happening in this generation of WebMatrix branded tooling . :-) Vertical and Scenario-Focused Tooling I personally think having a variety of tools is good, especially if they can focus on different verticals, and are optimized...(read more)
[By(Nikhil Kothari's Weblog)
:: Date(11/07/2010)]
|
|
 |
July 9th Links: ASP.NET, ASP.NET MVC, jQuery, Silverlight, WPF, VS 2010
Here is the latest in my link-listing series . Also check out my VS 2010 and .NET 4 series and ASP.NET MVC 2 series for other on-going blog series I’m working on. [In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu ] ASP.NET Extending ASP.NET Output Caching : Scott Mitchell has a nice article that discusses how to take advantage of ASP.NET 4’s extensible cache provider API to implement richer output caching mechanisms. Also check out my article on ASP.NET 4 output caching improvements here . Installing and Configuring Windows Server AppFabric and “Velocity” Memory Cache : Scott Hanselman has a nice blog post that describes how to install and configure Windows...(read more)
[By(ScottGu's Blog)
:: Date(09/07/2010)]
|
|
 |
Introducing WebMatrix
Last week I published several blog posts that covered some new web development technologies we are releasing: IIS Developer Express : A lightweight web-server that is simple to setup, free, works with all versions of Windows, and is compatible with the full IIS 7.5. SQL Server Compact Edition : A lightweight file-based database that is simple to setup, free, can be embedded within your ASP.NET applications, supports low-cost hosting environments, and enables databases to be optionally migrated to SQL Server. ASP.NET “Razor” : A new view-engine option for ASP.NET that enables a code-focused templating syntax optimized around HTML generation. You can use “Razor” to easily embed VB or C# within HTML. It’s syntax is easy to write, simple...(read more)
[By(ScottGu's Blog)
:: Date(06/07/2010)]
|
|
 |
Windows Client Developer Roundup for 7/5/2010
This is Windows Client Developer roundup #31. The Windows Client Developer Roundup aggregates information of interest to Windows Client Developers, including WPF , Silverlight , Visual C++, XNA , Expression Blend , Surface , Windows 7, Windows Forms, Windows Phone and Visual Studio. If you have something interesting you've done or have run across, or you blog regularly on the topics included here, please send me the URL and brief description via the contact link on my blog. WPF and Silverlight General Software should: Adapt to desired size/aspect ration; crash less; remember user settings (Rob Relyea) Also: Software should allow checkbox's label to check Tips and Tricks for working with the WPF and Silverlight Designer in VS2010 (Karl...(read more)
[By(Pete Brown's Blog (POKE 53280,0) for tag ASP.NET)
:: Date(04/07/2010)]
|
|
 |
Razor View Syntax
There’s an old saying, “Good things come to those who wait.” I remember when I first joined the ASP.NET MVC project, I (and many customers) wanted to include a new streamlined custom view engine. Unfortunately at the time, it wasn’t in the card since we had higher priority features to implement. Well the time for a new view engine has finally come as announced by Scott Guthrie in this very detailed blog post . While I’m very excited about the new streamlined syntax, there’s a lot under the hood I’m also excited about. Andrew Nurse , who writes the parser for the Razor syntax, provides more under-the-hood details in this blog post . Our plan for the next version of ASP.NET MVC is to make this the new default view engine, but for backwards compatibility...(read more)
[By(you've been HAACKED)
:: Date(03/07/2010)]
|
|
 |
Introducing “Razor” – a new view engine for ASP.NET
One of the things my team has been working on has been a new view engine option for ASP.NET. ASP.NET MVC has always supported the concept of “view engines” – which are the pluggable modules that implement different template syntax options. The “default” view engine for ASP.NET MVC today uses the same .aspx/.ascx/.master file templates as ASP.NET Web Forms. Other popular ASP.NET MVC view engines used today include Spark and NHaml . The new view-engine option we’ve been working on is optimized around HTML generation using a code-focused templating approach. The codename for this new view engine is “Razor”, and we’ll be shipping the first public beta of it shortly. Design Goals We had several design goals in mind as we prototyped and...(read more)
[By(ScottGu's Blog)
:: Date(03/07/2010)]
|
|
 |
Coaxing the Calendar Control – Which should have been called the Date-Picker Control.
Sometimes you need to dig in a little to get things to work the way that you want. I’m working on an events calendar and I need specific behavior for the home page display. When the page initially renders, I want to display a list of events in the current month. Then, I want to modify the display based on the user’s interaction. If the user picks a date then I want to display only the events on that day. If the user navigates to a different month I want to display the events for that month, even if they previously choose a specific day. To do this I need to do the equivalent of a SQL SELECT based on EITHER the Day or the Month depending on the users choices. The code for this was easy but figuring out exactly what to do in relation to the controls...(read more)
[By(Misfit Geek: msft)
:: Date(02/07/2010)]
|
|
 |
Installing, Configuring and Using Windows Server AppFabric and the "Velocity" Memory Cache in 10 minutes
A few weeks back I blogged about the Windows Server AppFabric launch (AppFabric is Microsoft's "Application Server") and a number of folks had questions about how to install and configure the "Velocity" memory cache. It used to be kind of confusing during the betas but it's really easy now that it's released. Here's the comment: Have you tried to setup a appfabric (velocity) instance ? I suggest you try & even do a blog post, maybe under the scenario of using it like a memcache for dasblog. I would love to know how to setup it up, it's crazy hard for what it is. No problem, happy to help. I won't do it for dasblog, but I'll give you easy examples that'll take about 10 minutes. Get and Install...(read more)
[By(Scott Hanselman - ASP.NET)
:: Date(01/07/2010)]
|
|
 |
Config-free IHttpModule Registration
The ASP.NET pipeline allows HTTP modules to plug in into the request processing lifecycle and do work at various stages. For example, output caching, authentication, authorization etc. are all implemented as HTTP modules. However one of the problems is that HTTP modules must be registered in configuration. This is a little painful for writing framework components where an HTTP module is essentially an implementation detail. You don't want every app developer using your framework to have to add in some configuration entries. What you want is the ability to programmatically add HTTP modules to the pipeline. This isn't available out-of-the-box today. I faced this problem in my previous post around RIA Services, Authentication and Roles...(read more)
[By(Nikhil Kothari's Weblog)
:: Date(01/07/2010)]
|
|