Parsippany, NJ – Take Control of Your ORM with Entity Framework

No Comments

I had an excellent time last night at the Northern NJ .NET User Group in Parsippany, NJ. I spoke about “Taking Control of Your ORM with Entity Framework Code-First”. Thanks to everyone that came out and to the meetup organizers for putting the event together. Every time I present, I challenge the group to which I’m presenting to give to a worthy cause if they enjoyed the talk. Last night, N3UG broke a record by meeting their goal in less than a day. As a result, I’m happy to report that at least 3 people will get access to clean drinking water. If you attended and enjoyed it–or even if you
Continue reading...

New York, NY – Take Control of Your ORM with Entity Framework

No Comments

I had an excellent time tonight at the New York ALT.NET Meetup in New York, NY. I spoke about “Taking Control of Your ORM with Entity Framework Code-First”. Thanks to everyone that came out, Microsoft for hosting us, and to the meetup organizers for putting the event together. If you attended and enjoyed it, don’t forget to donate a little something for clean water here: http://bit.ly/nyc-gives. I promised that I’ll give $150 if the meetup group gives $150 or more as a group in the next 7 days. So, in a way, if you didn’t like it, maybe you should donate even more! In all seriousness, I had a great time meeting everyone, and
Continue reading...

Louisville, KY – 30 Tools for Modern .NET Web Devs

No Comments

I had an excellent time tonight at Louisville .NET Meetup in Louisville, KY. I spoke about using “30 Tools for Modern .NET Web Development”, one of my favorite talks to give. Thanks to everyone that came out, and to the meetup organizers for hosting me. If you attended and enjoyed it, don’t forget to donate a little something for clean water here: http://bit.ly/ldn-gives. I promised that I’ll give $50 if the meetup group gives $50 or more as a group in the next 7 days. So, in a way, if you didn’t like it, maybe you should donate even more! In all seriousness, I had a blast, and look forward to seeing you all
Continue reading...

ASP.NET’s IsAjaxRequest Doesn’t Work with AngularJS

1 Comment

In ASP.NET, it can be helpful to know when a request is an AJAX call (made via XMLHttpRequest, that is) as apposed to a standard HTTP request. This can be detected with ASP.NET’s Request.IsAjaxRequest() method. This helper method returns true whenever the HTTP request contains the header “X-Requested-With” with a value of “XMLHttpRequest“. JQuery handles this automatically for you with any calls made using its $.ajax() method. AngularJS, however, does not. When you’re creating and AngularJS application, this can make it difficult to detect when a request to the server was an AJAX request or not. Have no fear, though, you can fix this problem with one simple line of code in our AngularJS
Continue reading...