background preloader

C# Corner - A Social Community of Developers and Programmers

http://www.c-sharpcorner.com/

Related:  TrabajoDesarrollo

Generate JSON Data Using Web Service And SQL Server Stored Procedure Let’s know about Web Service Web Services are used for enabling an application to invoke a method of another application. These applications can be on the same computer or different computers. Web Services use protocols like HTTP, XML, and SOAP. TextFieldParser classe (Microsoft.VisualBasic.FileIO) Cette documentation est archivée et n’est pas conservée. .NET Framework (current version) Date de publication : novembre 2016 public class TextFieldParser : IDisposable Creating ASP.NET Web API with MVC 6 Posted by: Mahesh Sabnis , on 12/9/2015, in Category ASP.NET Abstract: In this article, we will build an ASP.NET Web API using MVC 6. In earlier versions of ASP.NET, Web API was provided as a separate Web API framework, but going forward in the ASP.NET 5 release, Web API is merged with MVC, termed as MVC 6. ASP.NET Web API uses the power of HTTP.

Les nouveautés C# 7 (3) : les déconstructeurs - Cellenza Blog Cet article est le troisième d’une série sur les nouveautés C# 7. Retrouvez les autres : Nous avons vu dans le premier article de cette série comment alléger notre base de code de toutes ces classes DTO fourre-tout utilisées localement. Nous allons maintenant voir comment également alléger le code côté appelant. Déconstruire un tuple Script Efficiently Import Large CSVs into SQL Server Using PowerShell, C# or VB.NET Online peer support For online peer support, join The Official Scripting Guys Forum! To provide feedback or report bugs in sample scripts, please start a new discussion on the Discussions tab for this script. Disclaimer The sample scripts are not supported under any Microsoft standard support program or service.

.NET Framework - Nouveautés de C# 7.0 En décembre 2015, j’ai abordé la conception de c# 7.0 (msdn.com/magazine/mt595758). Un grand nombre a changé l’année dernière, mais l’équipe est désormais boutonner bas c# 7.0 développement et Visual Studio 2017 Release Candidate est l’implémentation de pratiquement toutes les nouvelles fonctionnalités. (Je dis pratiquement car jusqu'à ce que Visual Studio 2017 est fourni en fait, il y a toujours un risque de modification supplémentaire.) Pour une vue d’ensemble, vous pouvez consulter le tableau récapitulatif à itl.tc/CSharp7FeatureSummary. Dans cet article, je vais Explorer chacune des nouvelles fonctionnalités en détail.

High-Performance Techniques for Importing CSV to SQL Server If you’ve ever tried to use PowerShell’s Import-CSV with large files, you know that it can exhaust all of your RAM. Previously, I created a script on ScriptCenter that used an alternative technique to import large CSV files, and even imported them into SQL Server at a rate of 1.7 million rows a minute. I’ve now gotten that number up to a massive 3.2 million rows a minute 5.35 million rows a minute for non-indexed tables and 2.6 million rows a minute 4.35 million rows a minute for tables with clustered indexes. Importing into SQL Server

Les nouveautés de C# 7 Il y a environ deux ans, Microsoft a rendu le compilateur C# open source et multiplateforme, et tout le processus d'évolution du langage, de la conception à l’implémentation, se fait maintenant publiquement sur Github. Microsoft semble d’ailleurs avoir plongé tête la première dans le monde open source, puisque nombre de ses produits de développement sont maintenant sur GitHub (Roslyn, .NET Core, Core CLR, ASP.NET Core, Entity Framework Core, MSBuild, PowerShell…). C# 7 est la première version du langage qui intègre des contributions de la communauté. Cette mouture n’est pas encore en version finale, mais on peut déjà tester les nouvelles fonctionnalités dans la Release Candidate de Visual Studio 2017 publiée récemment. Pour cette version, il ne semble pas y avoir de thème clairement défini.

Procesando dinámicamente fórmulas creadas por el Usuario Por Armando Canchala Descargar ejemplos de este artículo (36 KB). Contenido Introducción El ejemplo Procedimiento Clase para el procesamiento Introducción En algunas ocasiones, los requerimientos de una aplicación piden el uso de fórmulas, las cuales son creadas y manejadas directamente por el usuario. Asynchronous Programming for C# and Visual Basic You can avoid performance bottlenecks and enhance the overall responsiveness of your application by using asynchronous programming. However, traditional techniques for writing asynchronous applications can be complicated, making them difficult to write, debug, and maintain. Visual Studio 2012 introduces a simplified approach, async programming, that leverages asynchronous support in the .NET Framework 4.5 and the Windows Runtime. The compiler does the difficult work that the developer used to do, and your application retains a logical structure that resembles synchronous code. As a result, you get all the advantages of asynchronous programming with a fraction of the effort. This topic contains the following sections.

Tips para llevarse bien con Entity Framework I Esta entrada requiere conocimientos previos con el Entity Framework Comparto esta entrada donde dare ciertas pautas para aprender a sobrevivir y llevase con nuestro amigo el Entity Framework. 1- Cuando trabajamos un proyecto avanzado y conectamos a N base de datos la tarea se pone un poco más compleja.. Por lo tanto, mi solución en estos casos fue trabajar a punta de vistas (SQL Views) y cuando tengo que hacer un insert/update/delete declaro varias cadenas de conexión y veo con que contexto trabajar. 2- Si vas a iniciar un proyecto de cero te recomiendo previamente analizar y CONOCER las reglas de negocio para tu sistema.

C# Tutorial , C# Help , C# Source Code Inversion of Control in C# with Examples - Dot Net Tutorials Back to: Dot Net Design Patterns With Real-Time Examples In this article, I am going to discuss the Inversion of Control in C#. Please read our previous article, where we discussed the Abstract Factory Design Pattern in C# with examples. As a developer, you may be familiar with the terms IoC (Inversion of Control), DIP (Dependency Inversion Principle), DI (Dependency Injection) Design pattern, and IoC containers. But are you confident what each term means with some real-time examples?

Related: