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


Creating Enterprise Line of Business Apps for Windows 8

AddThis Social Bookmark Button
source: Microsoft 12 Page FREE case study building Metro Style Enterprise Line of Business apps using Windows 8! Overview Windows 8 is a great platform for building apps that increase productivity, ease deployment, and allow your employees to interact with their PC in a more natural way. This white paper provides information about how to design and develop Enterprise Line of Business (LOB) Metro style apps for Windows 8. It provides guidelines and advice for developers who want to take advantage of the new capabilities in Windows 8. It also provides suggestions for how to leverage new form factors to create
engaging experiences for enterprise users. Download the cas study ...(Read whole news on source site)

Reviewing NAppUpdate

AddThis Social Bookmark Button
I was asked to review NAppUpdate, a simple framework for providing auto-update support to .NET applications, available here. Just for to make things more interesting, the project leader of NAppUpdate is Itamar, who works for Hibernating Rhinos, and we actually use NAppUpdate in the profiler. I treated it as an implementation detail and never actually looked at it closely before, so this is the first time that I am actually going over the code. On first impression, there is nothing that makes me want to hurl myself to the ocean from a tall cliff: Let us
dig deeper, and almost on the first try, we hit something that I seriously dislike. Which leads to this: public static class Errors { public const string UserAborted = "User aborted"; public const string NoUpdatesFound = "No updates found"; } And I wouldn’t mind that, except that those are used like this: There are actually quite a lot of issues with this small code sample. To start with, LastestError? Seriously?! LatestError evoke strong memories of GetLastError() and all the associated fun with that. It doesn’t give you the ability to multiple errors, and it is...(Read whole news on source site)

HTML5 WebSockets

AddThis Social Bookmark Button
One of the most exiting new things in HTML5 is the ability to start pushing data from the server to the client. Traditionally web applications have depended on clients requesting data from the server. And this is fine in most applications. However there are lots of cases when you might want to push events to the client as soon as they happen and not wait for a client to query for them. For example a stock broker application requires traders to know about stock price changes as soon as they happen, alerting the trader 5 minutes after the fact is
no good. Traditionally this could be done using long polling. This technique can be quite effective but a bit troublesome in getting to work reliably. The long polling mechanism has actually been formalized in the HTML5 specs as well with Server-sent DOM events and the the EventSource object. While quite effective, and relatively well supported, there is a newer technique of WebSockets that is far more capable.   No more HTTP traffic The WebSockets standard has one slight drawback though in that is is no longer using HTTP traffic. Where the EventSource object uses...(Read whole news on source site)

The Morning Brew #1139

AddThis Social Bookmark Button
Software July 2012 Update for Visual Studio 11 RC (aka Version 11.0.50626.1 QRELRC July 2012) Available for MSDN Subscribers (Looks like a pretty minor bug fix update…) - Greg Duncan highlights an update for Visual Studio 2012 RC which addresses some minor issues in the RC release. This update is currently only available to MSDN [...]

Intel® VTune™ Amplifier XE

AddThis Social Bookmark Button
Intel® VTune™ Amplifier XE this post will review the Intel® VTune™ Amplifier XE for parallel applications.  when performance is matter you should go thought the process of performance improvement cycle. the cycle may be a bit different but the measurement step cannot be omit. at the measurement step you may evaluate different aspect like duration, memory, contention, cache behavior, CPU and cores utilization. profilers is one of the method which you can evaluate those aspects. different profiler and profiler modes can evaluate different aspects. the
Intel® VTune™ Amplifier XE is using a sampling strategy to evaluate many of the above aspects. it does give you a very short graph of your overall CPU and thread utilization: you can tune each profiling session: and you can see a detail timeline view of your execution, along with hot spot view:   it is doing a real nice threading and CPU utilization visualization. and you can dynamically filter and zoom into specific time period. the yellow lines in...(Read whole news on source site)

Creating DATETIME value from integer DATE and integer TIME

AddThis Social Bookmark Button
System table sysjobschedules from MSDB database has four columns schedule_id, job_id, next_run_date and next_run_time. The datetime value is splitted into two columns next_run_date and next_run_time in the form of integers with the format YYYYMMDD and HHMMSS respectively. This table has the informations of all the scheduled jobs If you want to have a report that shows the jobs with next executable date in DATETIME format, you can use the following methods Source Datacreate table #sysjobschedules ( schedule_id int identity(1,1), job_id uniqueidentifier default newid(), next_run_date int, next_run_time int ) insert into #sysjobschedules (next_run_date,next_run_time) select 20120618, 182326 union all select 20120522, 71920 union all select 20120708, 1015 union all select 20120901,
220019 union all select 20121211, 130659 Method 1 : Convert date and time values and add them select next_run_date, next_run_time, next_run_date1+ stuff(stuff(next_run_time1,5,0,':'),3,0,':') as next_run_datetime from ( select next_run_date, next_run_time, convert(datetime,cast(next_run_date as char(8)),112) as next_run_date1, right('00000'+cast(next_run_time as varchar(6)),6) as next_run_time1 from #sysjobschedules ) as t
Method 2 : Apply arithmetic operators to create time and add with converted date
select next_run_date, next_run_time, dateadd ( second, next_run_time/10000*3600+next_run_time/100%100*60+next_run_time%100, cast(cast(next_run_date as char(8)) as datetime) ) as next_run_datetime from #sysjobschedules Method 3 : Apply arithmetic operators and make use of implicit convertion select next_run_date, next_run_time, dateadd ( second, next_run_time/10000*3600+next_run_time/100%100*60+next_run_time%100, ltrim(next_run_date) ) as next_run_datetime from #sysjobschedules In all cases the result is next_run_date next_run_time next_run_datetime ------------- ------------- ----------------------- 20120618 182326 2012-06-18 18:23:26.000 20120522 ...(Read whole news on source site)

San Diego Code Camp 2012

AddThis Social Bookmark Button
I gave my “Azure for Developers” talk at the San Diego Code Camp a couple of weeks ago. In this talk, I show how to set up a WCF service that performs CRUD operations and call it from a Windows Forms client. This shows all of the features of Windows Azure, including web roles, worker [...]