Ahmadreza's Notes

On .NET Framework and Software Architecture

WEBCAMPS Sydney Day 1 / Part 2

with 38 comments

As first day continued Scott and James tried to demonstrate Microsoft ASP.net 4.0 and MVC 2. Same question about ASP.Net was asked and was answered. Fellows was worried about replacement of ASP.Net with MVC 2 and as it was answered and like before Scott and James defined that ASP.Net is not going to be replaced by MVC. It is just a new approach of implementing web applications and depending on website structure and content websites could either be implemented by ASP.Net 4.0 or MVC 2.

Couple of new project templates has been added to Visual Studio 2010 and in web. One of them is “ASP.NET Web Application”. When a new ASP.NET Web Application is created visual studio automatically creates folder and files which are needed for a simple application. This type of project unlike

previous web application is not an empty project and contains necessary files and folders to create a simpl

e application.

This template includes Microsoft ASP.NET Membership Provider and if SQL Server Express is installed on developer machine this type of project is automatically configured for ASP.NET Membership provider which connects to SQL Express. This type of Web application is similar to ASP.Net application because the theme and style looks like default theme of ASP.Net MVC Application. Good news is Micros

oft has added jQuery to ASP.Net web application and ASP.Net MVC 2 Web application templates.

I think one of best features of MVC is its testability and on top of that you can change test framework of testing if you want. I’ve find some good articles and posts about adding customized test framework for testing MVC 2 projects. How to: Add a Custom MVC Test Framework in Visual Studio and a post about NUnit Template for ASP.NET MVC 2 .

Presenters created a new MVC2 Web application and for beginning they created a project without database just to keep it simple. View, Mode was discussed in this session and they talked about partial views and templates. I wanted to describe creating templates in MVC 2 but I found a good sample in Microsoft that helps to understand how to create templates in MVC. Following is link to EditorFor extension method. On the bottom of page you can find a link to Template Helper Sample.

For describing model part of MVC a virtual project was defined named Plan My Night. It was a simple application to plan night. They described model and controller by creating a simple database and entity model to implement Plan My Night. During implementation o f Plan My Night they described partial views editor templates. For editor templates there is a good sample to create an editor template for datetime inputs called MVC2 Editor Template with date and time.

They combined sample with newly introduced feature called jQuery Templates Data Linking. You can find a complete sample in ScottGu’s Blog. Another cool feature of visual studio which is really useful is Dynamic JavaScript Intellisense in VS 2010. Not only client items in win form can be identified by intellisense of VS 2010 but also items which are being created by developer during development can be identified in VS 2010 like following picture. 1000 items with TestDev prefix is added to window object. Exactly after while command you all TestDiv0 to TestDiv1000 is added to suggestion list.

During the presentation Scott wanted to use a trick to cause a crash for visual studio 2010 (It was on purpose). He changed “while” condition to an infinite while condition and he expected VS to crash when suggestion list was being opened, but visual studio is clever enough and calculates list until certain amount of millisecond and if it’s going to be time consuming visual studio just ignores rest of computing and jump over next statement. There is a good post in ScottGu’s Blog about JS Intellisense and its improvements.

Other feature which was discussed in webcamps was about Web.config transformation and packaging and deployment of web application SQL server. There is a good clip about Web.Config transformation in channel9 about Web Deployment and Web.Config.

 Rest of presentation was about IIS extensions which are available on http://www.iis.net/download and can be downloaded and installed by Web Platform Installer. Among those extensions SEO Toolkit was fantastic which was shown by Scott.

At the end of presentation fellows were asked to pitch their ideas for next day. Following are some of projects and people voted for them

.

My Noisy Neighbour (I voted this project)

RaceDay Commander

MongoDB Management Studio

Due Date – lightweight task-tracking for uni students

Address Book Lookup

I voted for first project “My Noisy Neighbour” and in second day I had to join to a group of people to develop this web application based on what we’d learned in first day. In the next post I’m going to describe what was our project was and what had happened.

Advertisement

Written by Ahmadreza Atighechi

July 9, 2010 at 5:59 am

Posted in Blog

Tagged with , , , , ,

38 Responses

Subscribe to comments with RSS.

  1. Great blog and very informative on the subject matter thanks a lot

    web design kent

    December 1, 2010 at 6:44 am

  2. Hi. Just did some online browsing and discovered this website. I read through this web site post and it is really magnificent. I bookmarked it and i am looking forward to your future blog posts. I also noticed that your weblog has some great linking done to it. I was thinking if you’d like to share your strategies on how to get that pr. Anyways wonderful read once again. Amazing info you got here.

    gucci outlet store

    December 2, 2010 at 7:25 pm

  3. Hi buddy, your blog’s design is simple and clean and i like it. Your blog posts are superb. Please keep them coming. Greets!!!

    marirea penisului

    December 17, 2010 at 11:00 am

  4. The LAST resort
    Skeleton Crew 2010
    living death

    http://www.eljnoub.com/

    eljnoub

    December 18, 2010 at 12:28 pm

  5. I think the tutorial is very well organized. The images are really helpful. Usually I am very lazy but this tutorial is really helpful.

    Cazare

    December 20, 2010 at 2:33 am

  6. Nice article, thank you. I will bookmark because this article provides interesting information.

    jocuri noi

    December 25, 2010 at 6:29 am

  7. thanks for the post.-

    cansionesdecristo

    December 29, 2010 at 2:38 am

  8. I am working on ASP.net from last 3 years.. since my start of graduation..
    I am not an expert but have pretty much good knowledge of ASP.net
    I have started learning it with 2003 version, then jump to .net 2.0 (2005), then to .net 3.0 and 3.5 (2008).
    After that i just planned to jump on to ASP.net 2010 (4.0) and I am still learning ASP.net 4.0 , so I am often looking at such blogs and learning source on internet..
    This is really good.. that if ASP.net is not going to replace with MVC 2 as I cant hold on more re-locations.. :) just kidding..
    as I already moved to 3 versions of ASP.net
    So, its really amazing about this if we can create website structure with either way..
    and I am not a native English… sorry for my wrong English is there is somewhere..

    Carpet Cleaning

    December 30, 2010 at 8:49 am

  9. This information is extremely valuable and continue to run through

    diseño web cadiz

    December 30, 2010 at 7:34 pm

  10. its a superb template….the solution of many problems….

    Marketing Mba Online

    January 3, 2011 at 3:08 am

  11. I have been working on ASP.net 2010 as well and find that this is a great article you have displayed. Really helpful article and provides some great insight. Well done.

    Best Vibrator

    January 3, 2011 at 1:09 pm

  12. I agree with the previous comments in the fact that this is a great article. I see that you have learned much in Day 1 of webcamps as far as Visual Studio and ASP 2010. Development of sites is quite important to me and found this useful.

    Shoes For Sweaty Feet

    January 3, 2011 at 1:11 pm

  13. I really love to read articles like this pertaining to ASP.net. I am new student studying on ASP.net field. Thanks for sharing this one, it will really help.

    cursos de idiomas en el extranjero

    January 3, 2011 at 8:57 pm

  14. If we use asp.net in netbeans will produces more in less time.. you can try it urself

    online mba

    January 4, 2011 at 2:00 am

  15. Nice article,
    Best regards

    pmu

    January 5, 2011 at 8:08 am

  16. Great post, I have been waiting for that!?

    Mozoot

    January 5, 2011 at 8:54 pm

  17. I am a. NET beginner, your article very helped me a lot, I will focus on your blog, thanks for sharing!

    Mozoot

    January 11, 2011 at 12:18 am

  18. I do not know much about this subject but I find it very cool that there are programs to build web pages

    Tarjetas de visita

    January 14, 2011 at 4:04 pm

  19. Hi,

    Very nice post, congratulation.

    Thanks you for all.

    tournois poker pmu

    January 19, 2011 at 8:15 am

  20. Thank! for good post. Useful for me and another one.

    Amanda

    January 26, 2011 at 2:05 am

  21. Nice post on asp.net.
    This post is really very helpful for me.

    racing games online

    February 10, 2011 at 12:42 pm

  22. sohbet chat sohbet siteleri

    sohbet

    February 18, 2011 at 11:29 am

  23. sohbet chat sohbet siteleri

    sohbet siteleri

    February 18, 2011 at 11:29 am

  24. sohbet chat sohbet siteleri

    sohbet siteleri

    February 18, 2011 at 11:32 am

  25. sohbet siteleri

    sohbet chat sohbet siteleri

    sohbet

    February 18, 2011 at 11:33 am

  26. I find your blog interesting.. Good job in sharing.. I’ll keep coming back to read more of your posts.

    china netbooks

    February 21, 2011 at 5:25 pm

  27. I really don’t have knowledge in ASP.net because I am focusing in PHP.
    But I do still have an interest to study ASP.
    I think your link could be one of my tutorial so I am going to keep it just back when I need answer to my questions.

    epoxy floor

    February 28, 2011 at 8:43 pm

  28. bon courage

    vulnérabilités

    March 1, 2011 at 3:52 pm

  29. Thanks a whole lot for writing this, it has helped me out immensely. Mind you I really like the look of your website, looks great, did you make it by yourself?

    Sildenafil Citrate

    March 15, 2011 at 3:05 am

  30. Your article has motivated me more to work towards the same aspect that you have written and inspires me to grow in the same field of expertise. I am happy that I have an idol like you who has motivated me on the subject.

    kamagra oral jelly

    March 18, 2011 at 2:01 am

  31. I find your blog interesting.. Good job in sharing.. I’ll keep coming back to read more of your posts.

    hong kong web hosting

    March 22, 2011 at 1:48 am

  32. Very good article Pasha, I’ve bookmarked your this post and will be looking for more from you in the future.

    Ghost Whisperer DVD Boxset

    March 27, 2011 at 8:20 pm

  33. Thank you for taking the time and spreading this information with all of us. It was really very helpful and informative while being straight forward and to the point.

    sesli chat

    March 29, 2011 at 7:29 am

  34. Thanks for providing such a great article, it was excellent and very informative. It’s my first time that I visit here. I found a lot of informative stuff in your article. Keep it up. Thank you.

    sesli sohbet

    March 29, 2011 at 7:31 am

  35. I am impressed with this website

    preschool jakarta

    March 31, 2011 at 8:57 pm

  36. I planned to jump on to ASP.net 2010 (4.0) and I am still learning ASP.net 4.0 , so I am often looking at such blogs and learning source on internet..

    עורכי דין בתל אביב

    April 4, 2011 at 8:30 am

  37. If you really like to follow webcamps event you can follow this hash tag http://twitter.com/#!/webcamps

    Ahmadreza Atighechi

    May 13, 2011 at 8:50 am


Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.