Here are the 10 most popular tips of the year at Daily .NET Tips, based on the number of times they were viewed and shared by the readers.This year, the topic covers mainly with Visual Studio, C#, XAML, App for Office and Kinect for Windows SDK.
Initialization of Dictionary is not a new thing. You can easily initialize a Dictionary Object using a Collection Initializer, which is there since C# 3.0. Collection initializer adds one of the parameter as Key and another as Value corresponding to the assigned Key. C# 6.0 adds a new ability to use the Key / indexer to map with the Values directly during the initialization itself. Read Complete Post
Along with the nameof operator, C# 6.0 also introduced Null-Conditional operator that enable developers to check the null value with in an object reference chain. The null – conditional operator ( ?.) , returns null if anything in the object reference chain in null. This avoid checking null for each and every nested objects if they are all in referenced and having null values. Read Complete Post
One of the easies and quickest way to keep track of several external files is by using the “Miscellaneous Files” in Visual Studio. When we develop applications in Visual Studio most of the time we do refer several external files. This files may not be required as a part of source code or solution items, but we referred them frequently for some additional purposes. For an example, project diagrams, other project files or code analysis reports etc. In sort, those files you want to use temporarily, but may wanted to refer in between. Read Complete Post
In the previous post I discussed about, Using DOM Explorer to Inspect your Office App in Visual Studio . While DOM Explorer helps you on inspect elements, applying CSS on the fly and many more things, playing around with JavaScript code , debugging it again difficult when the App is hosted on any of the Office Client. When the Office App is running, the only preferable way to debug the JavaScript code is using Visual Studio , by either holding the code using breakpoints or using breaking it through debugger. Read Complete Post
If you are building an “App for Office” using Visual Studio, you may encounter difficulties to inspect the html while the app is hosted on the Office clients. This make things complex to debug the app, applying/ changing CSS or even changing/inspecting the HTML elements. While dealing with such web application related issue, we always looks for a code inspector like “Developer Toolbar” that’s makes our life easier. What if, if you can do the similar things with your Office App? Actually, you can do that ! You can inspect your “Office App” by similar way that we generally do with “developer toolbar”. In this case of “Office App”, you can use “DOM Explorer” in Visual Studio that enable the similar code inspect experience like the developer toolbar. Read Complete Post
IIS Express provides us a set of flexibility to simulate an IIS hosted environment and test the application directly from the Visual Studio. In the previous post you have seen how we can enable SSL in IIS Express by just a single enabling property. In this post I am going talk about few more important things that you should as a developer. This will help you in dealing with IIS Express. Read Complete Post
Visual Studio 2013 introduced “Simplified New Project Dialog” control that makes easier to select a project type like ASP.NET MVC, Web Forms, Web API, Single Page Application (SPA) etc. The new project selection allows you to select a project type with combination of ASP.NET MVC and Web Forms or even of some other types. Recent update of Visual Studio 2013, take this dialog control features in to the next step. Now you can directly configure the Windows Azure publishing settings for a web site from this dialog control itself. Read Complete Post
Visual Studio 2013 introduces a nice feature that moves the selected code block up and down. This feature was often required for code movement or refactoring code, as for example, selecting a block and moving it into a method quickly. Here is the good news for XAML developers; Moving the code block up/down also supports in XAML code editor. You can use ALT Key and UP / Down Arrow to move the code block up and down. Read Complete Post
Automatic update of start and end tag were introduced with Visual Studio 2011 Developer Preview; where we were able to update HTML / ASP.NET Start and End tag automatically. Prior to the VS 2011 developer preview, we had to update both start and end tags manually for any kind of update on the tags. This is a very small but nice features, but it was limited to HTML/ ASP.NET controls tags. With Visual Studio 2013, you can take advantages of similar feature with XAML markup. Read Complete Post
Developing a speech enabled application using Kinect for Windows SDK is really fun. To build an extensive Kinect based speech enabled application along with dynamically loading and unloading grammar, use of wildcard is tremendous important. With the use of wildcard, we can ignore of the speech for whose we really don’t not care about. This work in an exactly same way as we used wildcard in other areas such as searching files. Read Complete Post
As we wind up with year 2014 and beginning a new year, I would like to express my sincere thanks to all the visitors, readers, followers of my blog for their encouragement, feedbacks and support. Wish you and your family a happy new year. I Hope this new year fills your life with happiness and perfect health as always, much more success and happiness.
With Regards,
Abhijit