Ori Calvo
Software Architect and Consultant
Sign in
|
Join
|
Help
Home
RSS
Atom
Comments RSS
Search
Tags
.NET
ASP.NET 4.5
ASP.NET 4.5 Developer Preview
ASP.NET MVC
ASP.NET WebForms
Cassette
DI
DIV
EntityFramework
Filter
Grid
HTML
IE9
IFilterProvider
Ioc
jQuery
MVVM
NuGet
Razor
Send EMail
Source Control
SVN
TABLE
TechEd
TortoiseSVN
Unit Test
View Engine
Visual Studio 11
Visual Studio 2010
פיתוח
צד שרת
Navigation
Home
All Posts
RSS
Popular Tags
Archives
May 2012 (2)
April 2012 (1)
March 2012 (2)
February 2012 (2)
January 2012 (1)
December 2011 (2)
November 2011 (1)
October 2011 (1)
September 2011 (1)
April 2011 (1)
March 2011 (3)
February 2011 (1)
December 2010 (1)
November 2010 (2)
Recent Posts
0
Comments
jQuery Deferred object
by
oric
Suppose you need to fetch some data from your server by executing 3 different $.ajax requests. Each request brings a different part of the total data. You don't mind in which order the requests complete. Only when the 3 requests are completed successfully you can use the data. In addition, in case one of the method fails you need to execute some error handling code. The naive solution looks something like that: function getAllData(success, error, complete) { var count = 0; var errorInvoked =...
2
Comments
ASP.NET MVC 4 Beta - MSDN Session at Microsoft
by
oric
Today I delivered yet another MSDN session at Microsoft. This time it was about ASP.NET MVC 4 Beta. The biggest news for this version is a new template project named Single Page Application (SPA). Implementing SPA is now possible using several client libraries like Knockout, upshot and History. Those libraries combined with ASP.NET Web API allow us to write desktop/mobile like application using web technologies. All samples and PPTs introduced during the session can be found here I hope you enjoyed...
7
Comments
What’s new in ASP.NET 4.5 – #2 Session at John Bryce
by
oric
Today I delivered a 3 hour session about ASP.NET 4.5 at John Bryce college. This is the second session about ASP.NET 4.5 and like the first one I displayed the major new features of the Microsoft web platform. Specifically I presented the new ASP.NET Web Forms data binding mechanism, KnockoutJS, Web API, Bundling and Minification, Visual Studio 11 IDE enhancements and ASP.NET MVC 4 new mobile support. All samples which were presented during the session can be found here Hope to see you in the next...
תגים:
ASP.NET MVC
,
ASP.NET WebForms
,
Visual Studio 11
,
ASP.NET 4.5
1
Comments
ASP.NET MVC 4 – SPA Video
by
oric
If you haven’t watch this video yet then go do it now !!! IMHO, one of the most interesting videos lately. Steve Sanderson from MS introduces ASP.NET MVC 4 combined with Upshot, Knockout and History. Using these technologies you can much easier develop a Mobile/Desktop like applications for the web. Knockout allows you to bind the local data to the UI, Upshot manages the interaction with the server and even can save data locally in case server is down and History manages the browser navigation system...
תגים:
ASP.NET MVC
1
Comments
Are you using Cassette?
by
oric
ASP.NET 4.5 Developer Preview introduces a new capability to manage scripts bundling and minification. You can read about it here . However, the current implementation lacks a very important aspect of scripts management which is managing the dependencies. As you know, when referencing a single script file you also need to reference all its dependencies. Wouldn't it be nice if someone automatically injects the right dependencies? Enter Cassette world ... Cassette is an HttpModule which seats inside...
תגים:
ASP.NET MVC
,
פיתוח
,
צד שרת
,
Cassette
0
Comments
ASP.NET Web Forms 4.5, MVVM and Testability
by
oric
ASP.NET Web Forms 4.5 introduces a new data binding mechanism. The formal name of this feature is "Model Binding". I guess the name implies that pages/controls are now bound to a model object and not just plain data. Is there any difference between data and model? I guess that most of us will agree that model has state + behavior while data has only state. Taking that into account it is not surprising that the new data binding mechanism is named "Model Binding" since we can use...
תגים:
ASP.NET 4.5 Developer Preview
,
ASP.NET WebForms
,
Unit Test
,
MVVM
,
Visual Studio 11
0
Comments
What's new in ASP.NET 4.5 - Session at John Bryce College
by
oric
Today I delivered a half day session about ASP.NET 4.5. The session was full of interesting subjects like ASP.NET Web Forms new data binding mechanism, automatic bundling and minification, using Web Sockets API, integrating jQuery Mobile into ASP.NET MVC and even writing HTML 5 offline web applications. Beyond specific technologies I tried to give me private feelings regarding the future and which technology I think today engineers should adopt and learn. I would like to thank all for participating...
2
Comments
ASP.NET MVC 4 Developer Preview - MSDN Session
by
oric
Today I delivered an MSDN Session at Microsoft Ra'anana. This time it was about ASP.NET MVC 4 Developer Preview. It was a great chance to present some of the cool features of this preview like Adaptive Rendering, Display Mode, View Switcher and of course jQuery Mobile. I would like to thank all participants and hope to see you again in future sessions All demos and PPTs can be downloaded from here Full video of the session can be found here
1
Comments
Implement an HTML table using DIVs
by
oric
This is quite an old topic but still when browsing through some popular forums I still encounter the following question: "How can I implement a table using DIVs and control the width of each column?" Before digging into the implementation I would like to share my thoughts regarding the old TABLE vs. DIV war: In the old days web developers used TABLE tag for displaying a tabular data and for controlling the layout of the page. These days it seems as everyone hates TABLE and tries to use...
תגים:
ASP.NET MVC
,
פיתוח
,
.NET
,
Grid
,
HTML
,
TABLE
,
DIV
0
Comments
Make Authorize Filter Transfer instead of Redirect
by
oric
Full sample can be found here Authorize filter is great. You can throw it on an action/controller and user access is automatically controlled by the filter itself. However, when using it you probably noticed that when the user does not have sufficient permission (A.K.A not part of the relevant role) he is redirected by the filter to the logon view. I hope you agree with me that a better approach (from user perspective) is to display a message like "You are not authorized to perform this operation"...
0
Comments
Using Razor Outside of the Web
by
oric
Does the following task sound familiar to you: "Upon work completion the system will send a notification e-mail to relevant recipients" ? Two weeks ago I had a chance to implement this kind of scenario once again. Of course, part of the requirement is to send a very informative E-Mail which means sending not a plain text but rather an HTML. It goes like this: Read the content of an E-Mail template file Modify the template with real time information Send the modified email to clients Bullet...
תגים:
ASP.NET MVC
,
Razor
,
.NET
,
Send EMail
,
View Engine
1
Comments
Exclude A Filter
by
oric
In my last ASP.NET MVC MSDN session I was asked a simple question: "How can we disable a filter for a specific action, assuming it is already defined at the class level?" Of course, having this ability can really ease the maintenance of our application. Without this ability we need NOT to define the filter at the class level and then define at each action level. Well, I did not have any simple question. However, I claimed that such an infrastructure can be easily developed using the excellent...
תגים:
ASP.NET MVC
,
פיתוח
,
צד שרת
,
.NET
,
Filter
,
IFilterProvider
0
Comments
ASP.NET MVC 3 MSDN Session
by
oric
Two days ago I delivered another ASP.NET MVC 3 MSDN session. As usual, we started with the basics to allow engineers not familiar with ASP.NET MVC to understand the major concepts behind it During the second part of the session, I demonstrated several subjects that are considered more advanced such as, Custom Action Result, Custom Model Binder, Custom Metadata Provider and other Custom XXX In addition, I had the chance to introduce some really nice tools such as Knapsack and ASP.NET Mini Profiler...
תגים:
ASP.NET MVC
,
Ioc
,
Visual Studio 2010
,
Razor
,
jQuery
,
פיתוח
,
.NET
3
Comments
Source Control with SVN
by
oric
Since 2005 I've been mostly working with Microsoft Team Foundation Server to manage my source code. Before that I had the chance to work with Microsoft Source Safe and even a bit with WinCVS (for self projects) These days I am back again working on a self project and need to share my source code with two other developers. All roads led me to SVN. I was quite surprised how easily an SVN server can be installed and manipulated from Windows Explorer. So I decided to share this info with you. There...
תגים:
Visual Studio 2010
,
פיתוח
,
צד שרת
,
.NET
,
SVN
,
Source Control
,
TortoiseSVN
0
Comments
Implementing Composite Pattern with Entity Framework Code First - Part 2
by
oric
In my previous blog post I described the way you can implement Composite pattern using Entity Framework Code First. The sample uses EFCodeFirst CTP 5 which suffers from a minor bug related to the composite relationship. Microsoft just released EF 4.1 RC which fixes the issue. Now, you can implement your composite pattern in a clean fashion. You can find the fixed composite pattern sample here .
תגים:
ASP.NET MVC
,
Visual Studio 2010
,
פיתוח
,
צד שרת
,
EntityFramework
More Posts
Next page »