DCSIMG
asp.net mvc - IronShay

Browse by Tags

All Tags » asp.net mvc (RSS)

Upcoming Web Developers Community (WDC) Meeting: ASP.NET MVC

ביום שלישי הקרוב, 17.5, אדבר על ASP.NET MVC במפגש קהילת מפתחי הווב. המפגש יתקיים במשרדי מייקרוסופט ברעננה ויתחיל בשעה 17:30. תכנית המפגש היא שתי הרצאות בנות 75 דקות כל אחת. ההרצאה הראשונה תהיה הרצאת מבוא על ASP.NET MVC המיועדת למי שעדיין לא יצא לו לשמוע על תשתית הפיתוח הזו או שרוצה להעמיק את ידיעותיו על האפשרויות והיכולות הטמונות בה. ההרצאה השניה תהיה יותר מתקדמת עם הרבה קוד ובה אני מתכנן להציג כל מיני טיפים ויכולות חבויות של ASP.NET MVC שיכולים להקל עליכם ולקצר את זמן הפיתוח. טכנולוגיה, קוד, אנשים...
Posted by shayf | with no comments

Razor Tip #2: Output Text in Code Context

Razor, the new ASP.NET MVC view engine is incredible. I like it. A LOT. Great work Microsoft! In this series of posts I’m sharing some handy tips and tricks that can enhance your experience with this new view engine. Enjoy! The Problem Razor is the place where HTML and C# live together in harmony. This is, in my opinion, one of the things that make razor the great view engine that it is. However, there’s a fly in the ointment. Assume you want to output “Good Morning!” if the hour is between 6AM and...
Posted by shayf | with no comments

Razor Tip #1: Explicitly Stating Statement Boundaries

Razor, the new ASP.NET MVC view engine is incredible. I like it. A LOT. Great work Microsoft! In this series of posts I’m going to share some handy tips and tricks that can enhance your experience with this new view engine. Enjoy! The Problem You have to output a variable value and add some markup content immediately after it. For example, assume you have a variable holding a value representing a font size and you want to output it inside a style attribute, as follows: But oh no! Razor can’t tell...
Posted by shayf | with no comments
תגים:, , ,

Slides + Code Samples from my Session at SDC2011

Today I had the honor to talk before the Scandinavian crowd in Gothenburg at SDC2011 . My session was “The Big Comparison of ASP.NET MVC View Engines” where I compared ASPX, Razor, Spark, NHaml and the StringTemplate view engines. Thanks to everyone who attended! I hope you had as much fun as I had!   The code samples from the session can be downloaded from my github account: https://github.com/shayfriedman/AspNetMvcViewEnginesSamples And here are the slides: The Big Comparison of ASP.NET MVC...

My Session at mvcConf 2–The Big Comparison of ASP.NET MVC View Engines

About a month ago I gave a session at the virtual mvcConf 2 event. My session was “The Big Comparison of ASP.NET MVC View Engines” where I talked about the differences between ASPX, NHaml, Spark and the Razor view engines. The session was recorded and it is available on channel 9: http://channel9.msdn.com/Series/mvcConf/mvcConf-2-Shay-Friedman-The-Big-Comparison-of-ASPNET-MVC-View-Engines (at the time of this writing, it has more than 7,500 views! amazing!) During the session I held a few polls about...
Posted by shayf | with no comments

The Big View Engine Comparison – Razor vs. Spark vs. NHaml vs. Web Forms View Engine

One of the cool things about ASP.NET MVC (and other MVC web frameworks) is its capability to change the default view engine with a Microsoft or a 3rd-party one. ASP.NET MVC currently has a few options for view engine alternatives: The web forms view engine – this view engine, with the ASP-like syntax, is the default one for ASP.NET MVC 1 and 2 applications. Razor – the new view engine which will be the default one for ASP.NET MVC 3 applications. Spark – an open-source view engine which aims to seamlessly...
Posted by shayf | 5 comment(s)

The Razor View Engine Basics

[cross-posted from my main blog: http://www.ironshay.com/post/The-Razor-View-Engine-Basics.aspx ] If you’ve been following me, you probably noticed that I became quite excited with the new view engine of ASP.NET MVC 3 – the razor view engine. If you’re familiar with it then you might agree or disagree with me, but if you don’t then this is a great time for you to make up your mind! In this post I assume you are familiar with the concept of view engines. If not, please watch this before. Let’s start...
Posted by shayf | 1 comment(s)
תגים:, ,

5 Reasons to be Excited about ASP.NET MVC 3

It’s already been 6 months since ASP.NET MVC 2 was released and version 3 is already taking shape. I, personally, am thrilled about that because this version seems to put ASP.NET MVC, in terms of maturity and functionality, on the first line along with other MVC frameworks out there like RoR. I’ve put together 5 main reasons why I’m excited about this upcoming version. What about you? 1. The Razor View Engine I said it before and I’ll say it again – the razor view engine is so cool!!! I really like...
Posted by shayf | with no comments

Slides and Videos of my Talks at Epicenter and NDC

I’ve just uploaded the slides from my recent sessions at the Epicenter and NDC conferences. They appear on the presentation page as well. NDC 2010 – Riding IronRuby on Rails (Norway, June 2010) Abstract : The most famous Ruby–driven framework is, by far, Ruby on Rails. With IronRuby, .NET developers can now take advantage of this incredible web framework without leaving their comfort zone. In this session, Shay Friedman will build an entire Web 2.0 site from scratch while using and explaining the...
Posted by shayf | with no comments