C# Development RSS Feed

C# Development

C# programming news and blogs.
Feed created by feedshuttle
131




This article explains how to data bind a command from my viewModel to an event. In other words, how to make the code-behind not contain any code related to event handlers of a control.

Source Feed: C-Sharpcorner Latest Articles

This article explains all views and why we use views.

Source Feed: C-Sharpcorner Latest Articles

C# 6 is the version of C# that ships with VS 2015 Preview. The philosophy behind this version is straightforward: improve simple everyday coding scenarios, without adding much conceptual baggage. The features should make code lighter without making the language heavier. Some features are mostly syntactic sugar (expression-bodied members, string interpolation, nameof), some complete what felt a bit like unfinished work (getter-only auto-properties, await in catch and finally) or expand...

Source Feed: The C# Team
Categories: await, roslyn, language features, c# 6.0

The Rosetta lander Philae wasn't the only thing in space last week. Our launch of Visual Studio 2015 Preview and our announcement to open source the full .NET server stack was out of this world. After all, it’s not every day that you can say your work trended higher than Kim Kardashian on Twitter. After an overwhelmingly positive reception to the news of .NET going open source, we want to make sure you know how and where to contribute. The .NET Core repository already has closed about 80...

Source Feed: The C# Team
Categories: ide, c#, roslyn, language features, vb, f#, analyzers, open-source, .net

Our team has put together a set of short videos to highlight some of our work in Visual Studio 2015 Preview. Check them out to learn more about what’s new in C# and VB, how F# can be good for enterprise, and how to improve your code quality with “analyzers”. To learn more about our team’s work in Visual Studio 2015 Preview, check out our overview post.   What's New in C# 6.0 | Mads Torgersen C# 6.0 adds about a dozen bite-sized new features to C#, all aimed at making your code cleaner and...

Source Feed: The C# Team
Categories: ide, c#, language features, vb, f#, analyzers, c# 6.0, f# 4.0

Download Visual Studio 2015 Preview and review the release notes. Over the past several years, our team has been hard at work re-implementing the full language stacks for C# and Visual Basic. While this was a long investment, we knew that an improved stack with a cleaner architecture would allow our team to work faster, empower others to build "code smart" tools and applications, and create a richer and smarter IDE experience in Visual Studio. Today, we are pleased to announce that this work...

Source Feed: The C# Team
Categories: ide, c#, visual studio, debugging, visual basic, language features, vb, announcement

This post is brought to you by Beth Massi, a Program Manager on the Visual Studio team. If you’ve been reading this blog I’m sure you know by now that the .NET Compiler Platform (code named "Roslyn") is the next generation of the Visual Basic and C# .NET compilers. But what does that mean? I was up in Redmond a couple weeks ago and I caught up with Dustin Campbell (Program Manager on the Managed Languages Team) and sat him down to explain Roslyn to me, a .NET developer. I mean, let’s face it...

Source Feed: The C# Team
Categories: roslyn

Create your a dedicated mobile app for your WordPress site by using a simple automated tool for creating an Android or iOS app. No programming or technical knowledge is required, simply install the plugin and follow the six steps to generate your app for submission to the app store. Find out more at App Macro […]The post WordPress App Builder – Automatically create iOS and Android Apps for your WordPress Site appeared first on C# Help.

Source Feed: C# Help
Categories: uncategorized


Once you write an OWIN Middleware service, it can be reused everywhere as long as OWIN is supported. In my last post, I discussed how you could write an Authentication Handler in Katana for Hawk (HMAC Authentication). Good news is NancyFx can be run as an OWIN handler, so you can use many of existing middleware services, including the ones that are ship with Katana. Running NancyFx as a OWIN handler is pretty straightforward, and discussed in detail as part of the NancyFx documentation here....

Source Feed: DotNetSlackers Latest ASP.NET News in Category C#

As I discussed in my previous post, Katana is pretty much organized in middleware services.  One of those middleware services is authentication, which provides some built-in implementations for existing OAuth providers such as Facebook, Twitter, Google or Microsoft, and also an implementation for Forms authentication with cookies.  All those implementations are currently distributed as Nuget packages under the name of Microsoft.Owin.Security.*, where the last part identifies the name of...Did...

Source Feed: DotNetSlackers Latest ASP.NET News in Category C#

Introduction The .NET ecosystem offers today a lot of alternatives for developing web applications. You can either use any of the frameworks supported by Microsoft with ASP.NET such as Forms, MVC or Web API, or any other open source alternative like FubuMVC, ServiceStack, NancyFx or OpenRasta to name a few. From an architecture standpoint, all these frameworks have three main layers in common (in spite of the difference with the implementation details), hosting, middleware, and application. ...

Source Feed: DotNetSlackers Latest ASP.NET News in Category C#

Advertisement

In LINQ, the 'fluent' method syntax flows logically and intuitively, and allows them to be combined simply, because each method returns the appropriate type of object for the next. Can this fluent technique be extended as an API style to make it easier to develop C# team-based applications for enterprises?...Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look:...

Source Feed: DotNetSlackers Latest ASP.NET News in Category C#

Tomorrow, the 30th of November, 2012, is the first day of my fifth decade here on Earth, and my last day at Microsoft. (*) I've been working at Microsoft full-time since 1996 and had two years of internships before that. Microsoft is an awesome company. We do great work here: work that changes the way people interact with information in a fundamental way. And I in particular, have had the pleasure and the privilege to work on technologies that change how developers like me get their jobs done....

Source Feed: Fabulous Adventures In Coding
Categories: introduction, metablogging

In C# it is illegal to declare a class D whose base class B is in any way less accessible than D. I'm occasionally asked why that is. There are a number of reasons; today I'll start with a very specific scenario and then talk about a general philosophy. Suppose you and your coworker Alice are developing the code for assembly Foo, which you intend to be fully trusted by its users. Alice writes: public class B{  public void Dangerous() {...}} And you write public class D : B{... other stuff...

Source Feed: Fabulous Adventures In Coding
Categories: c#, brittle base classes, language design

I am pleased to announce that Essential C# 5.0 by Mark Michaelis, and, new for this edition, yours truly, is available for pre-order now. It will be in stores in early December. As long-time readers of this blog know, I was one of the technical editors for Essential C# 4.0 and Essential C# 3.0. Mark was kind enough to ask me if I would like to take a larger role in the process of updating the text for the new edition, which I gladly agreed to. There is no easier way to get a byline in a book...

Source Feed: Fabulous Adventures In Coding
Categories: c#, books, c# 5.0

Last time I discussed how "dynamic" tends to spread through a program like a virus: if an expression of dynamic type "touches" another expression then that other expression often also becomes of dynamic type. Today I want to describe one of the least well understood aspects of method type inference, which also uses a contagion model when "dynamic" gets involved. Long-time readers know that method type inference is one of my favourite parts of the C# language; for new readers who might not be...

Source Feed: Fabulous Adventures In Coding
Categories: c#, lambda expressions, type inference, c# 4.0, language design

Suppose you're an epidemiologist modeling the potential spread of a highly infectious disease. The straightforward way to model such a series of unfortunate events is to assume that the population can be divided into three sets: the definitely infected, the definitely healthy, and the possibly infected. If a member of the healthy population encounters a member of the definitely infected or possibly infected population, then they become a member of the possibly infected population. (Or, put...

Source Feed: Fabulous Adventures In Coding
Categories: security, c#, c# 4.0

For the 2014 / 2015 season the Hong Kong Jockey Club has announced the schedule for races. Please follow the appropriate links: Entire 2014/2015 Hong Kong Racing Calendar and Schedule Happy Valley 2014/2015 Hong Kong Racing Calendar and Schedule Shatin 2014/2015 Hong Kong Racing Calendar and ScheduleThe post Hong Kong Horse Racing Schedule appeared first on C# Help.

Source Feed: C# Help
Categories: uncategorized

Working with strings is a very common task for most C# developers. The .NET Framework offers good variety of tools for working with strings, but care must be taken as there are several gotchas to trip up the beginner. The first thing to note about strings in .NET is that they are Reference Types. Reference […]The post C# Strings – Getting Started with Strings appeared first on C# Help.

Source Feed: C# Help
Categories: c# language, stringbuilder, strings

There are three primary methods of passing parameters to C# methods: Regular Parameter Passing This is passing parameters with no modifying keywords : void MyMethod(Student studentObj, int aNumber) { aNumber += 5; studentObj.Name = "Jon"; } In the above example MyMethod takes two parameters – a Student object and an Integer. Note the difference between […]The post Passing Parameters in C# appeared first on C# Help.

Source Feed: C# Help
Categories: c# language, out, parameters, ref, reference types, value types

Very often the inbuilt numerical formatting in C# will be insufficent and you will want to apply the custom formatting for your numbers. The String.Format method is very flexible and can be used to apply custom formatting rules. The # character informs the Format method how to format the numerical value, for example to forma […]The post C# Custom Number Formatting appeared first on C# Help.

Source Feed: C# Help
Categories: c# language, formatting, string, string.format

RSS Feed Subscribe to this Feed via RSS reader.

Related Feeds
.NET Development News      C# Tools      Skylanders      Black Friday Deals