Michael OssouWe are holding our first Google+ Hangout on Thursday, July 18th at 2:30 Pacific time (technically this is our second hangout, though the first one was rather anticlimactic and sort of fail-y, so I can understand why Mr. Ossou chooses to pretend that it never happened – Editor).

Come watch us make fools of ourselves as we discuss all things ASP.NET and Web Dev.

Admission is free, valet parking will be provided, and you are all on the list.

google+-rich-snippets

 

Michael OssouEarlier this week, jQuery 2.0 was released.

I’ll save you the rehash, you can look to their site for information regarding the updates. The interesting thing I wanted to mention was that as of  2.0, they dropped support for IE 6, 7, & 8. This means everybody else is going to start following suit.

I often see developers on social networks asking if they really need to still support these browsers. I always take it as code for “If you guys stop, I finally can too.” So unless you have a strong user base stuck in a time-warp, I think this clearly marks the end of a very painful era – kind of.

CodeProject recently put out a poll that stated only 25% of developers are committed to still supporting the older versions of IE. Frankly, I think that number is going to get smaller really quickly. But again, it all depends on your user base and your needs. I also want to share one more statistic that I think you have to see.

Tagged with:  

RavenDB And Shared Hosting

On March 22, 2013, in How-to, Miscellaneous, Technical, by Michael

Michael OssouNoSQL databases have gotten a lot of attention recently. This is primarily due to them being seen as scalable, great for working with documents, and generally a good option for people that have a huge amount of non-relational data. Think Twitter. Twitter is a great example of a service where a NoSQL solution can really shine. They have an enormous amount of data that isn’t very relational.

In the ASP.NET world, RavenDB is a popular option. For those of you brave enough to take the NoSQL plunge, I wanted to guide you through getting started and mention a few things. RavenDB can run in many modes.

The one we are concerned with when it comes to running it on a shared hosting account is Embedded Mode. This essentially embeds the RavenDB goodness into your application and will work on a shared hosting account. In fact, there is even a nuget package that you can use to drop it into your project.

Embedded mode even contains an HTTP server. However, this option will not work in a shared hosting account. So do not set:

UseEmbeddedHttpServer = true

Your best option would probably be to add something like this to your code:

#if DEBUG
UseEmbeddedHttpServer = true;
#endif

That way you could change your build type for either working locally or for production when you publish. For those looking for a fantastic tutorial and sample application, look no further than here.

Tagged with:  

Michael OssouThe Web Tools 2012.2 update has been  released. You can download it here.

This update is related to the tooling only i.e. Visual Studio and has no impact on the ASP.NET runtime. In addition to some of the things that help you better use the framework such as SignalR and enhancements to WebAPI that include support for OData, significant updates have been made to Visual Studios’ editor with regards to CSS and Javascipt.

Two of the Three Scotts posted in depth about this update. “Serious Scott Guthrie” had this to say. While “Funny Scott Hanselman” wrote this.

Tagged with:  

HTML 5 WebCam Love

On February 14, 2013, in Internet, Technical, by Michael

Michael OssouLast week we covered doing time lapse photography with jQuery-WebCam. This time I want to highlight some stuff that’s built into HTML 5.

HTML 5 gives you built in access to devices. There were multiple ways of doing this but I think the world has pretty much settled on WebRTC. Microsoft may complicate this matter a little bit but that’s the actual purpose of IE – to complicate our lives – so we are used to it by now.

So lets take a look:

<video id="videoPlayer" autoplay></video>

    <script type="text/javascript">
        $(document).ready(function () {

            var vid = document.getElementById("videoPlayer");

            if(navigator.getUserMedia) { // Standard
                navigator.getUserMedia({ "video": true }, function(stream) {
                    vid.src = stream;
                    vid.play();
                }, errBack);
            } else if(navigator.webkitGetUserMedia) { // WebKit-prefixed
                navigator.webkitGetUserMedia({ "video": true }, function(stream){
                    vid.src = window.webkitURL.createObjectURL(stream);
                    vid.play();
                });
            }
        });
    </script>

The HTML 5 implementation is simple but it is also extremely powerful. To learn more, visit HTML5Rocks. To get straight to the fun, try this, this, or this. For those interested in really pushing things, you’ve gotta see this.

- Michael Ossou

Tagged with:  
iBlog by PageLines