Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



Anti-spam: How many eyes has a typical person?

Follow us on FB


How to create an Excel file using Silverlight and C#?

AddThis Social Bookmark Button
Sometime we need to export data as Excel report. This can be a plain Console application or a high end desktop and/or web application. You can of course do this using plugins/add-ons but what if you don’t have permission to use any 3rd party assemblies in your application? Okay, in this post we are going to discuss this with help of a simple Silverlight & C# application but logic will be same in other platforms/technologies too. Keep reading.    Current days, it’s easy to create Excel file as it can read XML file format and view it as Excel. XML
based Excel file uses a template to recognize it as Excel format. The tag “” does this thing intelligently. The “Workbook” tag tells it to create a Workbook and the “Worksheet” tag tells it to create a Worksheet. In the worksheet, you can create table using the “Table” tag to represent your data into it. The “Table” tag consists of few “Row” and “Cell” tags to represent the data in tabular format. Now we just have to create rows and cells specifying proper data type which can be string, number etc. Check out the below code snippet where we are...(Read whole news on source site)

Next Stop: Nottingham England for Node.js

AddThis Social Bookmark Button
The last stop of the week was in Nottingham. I had a chat with the Sheriff about some stolen hoodies. At least that’s what I thought he said – his accent was quite thick ; ) The team at dotNetNotts was great. We had a packed house of over sixty attendees. I am sure the pizza and beer helped, but some even stood for the talk. Resilient group! We talked about “Node.js for .NET Developers” this time. I tried to stay away from the NoSQL v. Relational database story, but hopefully I was able to
explain what Node.js is and how you could apply the lessons there to ASP.NET MVC/Web API. Lively group and some really tough questions. As usual for this great country, we ended the night in a lovely little pub that was likely older than my country. Here are the promised resources from the talk: Slides Code Thanks again for having me!

My visit to Gloucester UK

AddThis Social Bookmark Button
My next stop this week was in the town of Gloucester in England. The group that ran this meetup was great and had everything setup to make this an easy talk to give. I especially want to thank Franck Terray and Sophie Lipowska for running the meetup. For this stop, we talked about both ASP.NET Web API 2 as well as Azure Websites. I merged the two into a built API then deployed into Microsoft’s cloud. Lots of great questions later we stopped by the pub for a nice talk with the hard-core members. Great time was had by
me. Here are the promised resources from the talk: Slides Code Thanks again for having me!

Developing for the Tessel with WebStorm

AddThis Social Bookmark Button
In a previous post, I mentioned that (finally) my Tessel arrived, “an internet-connected microcontroller programmable in JavaScript”. I like WebStorm a lot as an IDE, and since the Tessel runs on JavaScript code (via node), why not see if WebStorm can be more than just an editor for Tessel development… Developing JavaScript The Tessel runs JavaScript, so naturally a JavaScript IDE like WebStorm will be splendid at that part. It provides a project system, code completion, navigation, inspections to check whether my code is as it should be (which from the screenshot below, it is
not, yet ;-)) and so on. What I like a lot is that everything related to the device-side of my project (a thermometer thing that posts data to the Internet), is in one place. The project system ensures the IDE can be intelligent about code completion and navigation, I can see the npm modules I have installed, I can use version control and directly push my changes back to a GitHub repository. The Terminal tool window lets me run the Tessel command line to run scripts and so on. No fiddling with additional tools so far! Tessel Command...(Read whole news on source site)

New Horizons reaches 30!

AddThis Social Bookmark Button
Originally posted on: 08:00 hours UTC/GMT on 30/July/2014, the New Horizons space probe reached 30 Au from the Sun (30 times the average distance of the Earth from the Sun)!

Congratulations to Alan Stern and his team! From the diagram below, New Horizons looks as if it has crossed the orbit of Neptune, but this does not take place until next month!