I’ve been using the Microsoft Aspnetdb database for some time now, and I still get asked about how to create the database, so here you go enjoy:
Microsoft has a new and powerful default database schema in ASP.Net 2.0 as ASPNETDB.mdf database. This database file serves as a role provider, and membership provider. Visual Web Developer 2005 supports the ASP.Net configuration to manage this personal aspnetdb database file within the web application inside the App_Data folder. Aspnetdb database helps in managing users along with their roles e.g. admin, employee, editors etc. It also enables the in-built functionality of Login controls and web parts to be integrated on ASP.Net 2.0 web pages that helps in managing user profiles, login, and personalized user pages very easily even without writing the bulky code to implement the sql queries or stored procedures along with data access code for inserting, updating or deleting the user personalized data.
I’ve been working at home on and off for a number of year, and one thing that always comes up is how to collaborate with remote employees over the internet.
I have been using Microsoft Shared View, it’s easy to use and just does the job. If you are using a Mac then you could also try out Microsoft Shared View for the Mac, although I have not tested this out yet.
Now that I’m using MVC fully it’s time to implement a Customer Error Page.
As ASP.NET MVC is a layer on top of ASP.NET we can still use the same Customer Errors that we are used to in the Web.Config, so just to make it SEO friendly, here is what it can look like:
If you need to screen cast then check out Screen Toaster, it’s fast easy to use
Register & use it anywhere, anytime No download. Compatible with Windows, Mac OS X, Linux. Capture videos of onscreen action in one click Record screencasts, tutorials, demos, training, lectures and more. Share and stream videos online in Flash Embed them on blogs and webpages or send them by email.
If you need to script out the objects within a database, from generating tables through to extracting out the data so you can use it in another database or schema then you are going to need to script the SQL.
Came across this today, and thought it was very good.
Original post
An important tool when using MVC xVal version 1.0 is released, xVal is a validation helper for ASP.NET MVC that lets you use your own choice of server-side validation framework (e.g., Microsoft’s DataAnnotations attributes, or Castle Validator, or NHibernate Validaion) and dynamically generates client-side validation code from your rules.
When you are using MVC you will come across using the ModelState, and the most common use is ModelState.IsValid, if you’ve not used this before then check out Validating Model Data in an MVC Application or xVal – a validation framework for ASP.NET MVC, what I did come across is an exception beyound the normal checks, that a table was missing from the database. Although the error was recorded in the ModelState, it did not raise any exception and hence the exception handling did not capture the message. To record the Exception you’ll need to go over the collection and this code allows you to do this:
I’ve been playing with Windows 7 for a little while now and I am impressed it lokks like Microsoft have got it right. I’m a power user and if it works for me I can say it is going to work for Mr Average Joe. I’d thought I draw up a number of special features that I have found in my travels around Windows 7.
Need to know how to write easy to look after XML code, check out the the DNRTV
http://perseus.franklins.net/dnrtvplayer/player/?ShowNum=0147
The source code can be download here LINQXMLSamples.zip (112.26 kb)
http://www.ssmstoolspack.com/
I needed a simple way of editing the text on the screen, without the need to open up or view a second screen, so I had a look around for some jQuery, and came across this very good jQuery plugin from Mika Tuupola, jEditable
Came across this nice article on different uses for your USB flash drive
Transporting your data is probably the most common use for a USB flash drive. But there’s a world of other things you can do with these handy pocket-size drives. Here are 10 ways you can use that USB flash drive to do more than just move data
The first of the next version of MVC 2 has been release by Microsoft, a few nice features, which has extended the Html helpers.
The full release will be shipped with Visual Studio 2010, and a version will be available for download for Visual Studio 2008 sp1 at the same time.
Where are those extra features that did not quite make it in the initial release of ASP.MVC 1.0, they can be found on Code Plex, ASPNET
ASP.NET MVC Futures – Microsoft.Web.Mvc The following are a few items in the ASP.NET MVC Futures assembly:
After a great DDD South West, now comes the video, great production, setting a high standard for years to come
If and when you have to deploy your MVC application, you’ll soon find out that IIS6 does not support Url Rewriting. There are a number of options available to you, for a good list check out Steve Sanderson’s Deploying ASP.NET MVC to IIS 6, the one I’m currently using is: