IgorShare Thoughts and Ideas

Consulting and Training

Archive for the ‘ASP.NET’ Category

ASPConf: Generating dynamic views, but Google Chrome was too smart for me

Posted by Igor Moochnick on 07/20/2012

I had a blast presenting for ASPConf 2012. I want to thank all the organizers, presenters and attendees. Without you it wouldn’t have been possible.

One of the questions from one of the attendees during my “Building complex Single Page Application should be as enjoyable as visit to a SPA” talk was:

Q: Is it possible to bring on-demand portions of the application that will be emitted by the Asp.Net MVC Views (aka: dynamic views generation)

A: Sure (see Picture #3).

But when, in fact, I’ve tried to demonstrate it right away – I hit a snag.

What happened is: my implementation was correct but Google Chrome was too smart for me to handle it and wrapped the partial HTML with the full “HEAD” and “BODY” tags [See Picture #1].

I’ve assumed that my server was returning more than the generated by the Raw view content itself. If I would’ve checked a network stream [See Picture #2] (or Fiddler) I would’ve seen another result – the correct one.

Picture #1

image

Picture #2

image

So, this is a simple example how you can import a dynamically generated content from an Asp.Net Mvc view into a SPA application:

1. Create a view

2. Create a Controller entry (when you’ll navigate to this view you should see a result on Picture #2)

3. Change a dependency path in your SPA view to point to the new content (and the final result should look like Picture #3)

Picture #3

image

Posted in ASP.NET, Javascript, Presentations, Web | Leave a Comment »

Now I have ALL of the Microsoft developer certifications – long journey is over!!!

Posted by Igor Moochnick on 09/09/2009

Now I own the full deck of the Microsoft certifications and I can sit back and relax (beer is in order ;-). Unfortunately, in the startup world that I operate most of the time, it’s not very recognizable achievement, but it’s nice to put these logos on my presentation slide decks and, especially now, I have a very powerful bragging rights – I have ALL of the Microsoft developers certifications !!!

It was a lengthy path and, I should add, a very confusing one. It wasn’t very obvious what certification is a prerequisite to which one and, I must add, I’ve made a couple of mistakes on the road until I’ve discovered a developer’s certification map by Jorgen Thelin that put everything in order and cleared all the confusions.

ms-cert-path-mcpd_4[1]

Posted in .NET, ADO.Net, ASP.NET, C#, Community, Thoughts, WCF, Workflows, WPF | 6 Comments »

ADO.Net Data Services presentation @ NEVB User Group

Posted by Igor Moochnick on 03/09/2009

clip_image001

Had a pleasure presenting ADO.Net Data Services (Astoria) to the New England VB User Group last Thursday.

Had a lot of fun and there were a lot of great questions.

Feel free to shoot me any questions and you’re welcome to download the PowerPoint slide deck and BeerFest  example source code (yes, we’ve talked about beer tastings ;-).

The slides are based on the Mix’08 and PDC’08 talks.

Decided to give a try to SlideShare and published the presentation there as well.

Posted in .NET, ADO.Net, ASP.NET, Community, Data Services, Presentations, Web | 2 Comments »

Note the change in my status – MCPD

Posted by Igor Moochnick on 01/26/2009

This morning I have received a notification that I’ve passed one of the MCPD exams (others are still in Beta). Cool !!!

MCPD ASP.NET

Posted in .NET, ASP.NET, Thoughts | 2 Comments »

 
%d bloggers like this: