ASP .NET CORE Archives - {coding}Sight https://codingsight.com/category/languages-coding/asp-net-core/ Blog for SQL Server DBAs and Developers Mon, 13 Mar 2023 12:55:14 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 https://codingsight.com/wp-content/uploads/2021/10/cropped-Soсial_-Fb_180х180-1-32x32.png ASP .NET CORE Archives - {coding}Sight https://codingsight.com/category/languages-coding/asp-net-core/ 32 32 LINQ to XML: Easy Work in C# https://codingsight.com/xml-made-easy-linq-to-xml/ Fri, 23 Jul 2021 08:35:18 +0000 http://codingsight.com/?p=15718 LINQ to XML is an in-memory XML programming interface that enables XML manipulation. Similar to the more traditional Document Object Model (DOM), LINQ to XML brings XML documents into memory and lets you query and modify them before saving the results to a file or data stream. What is different from the DOM is the …

The post LINQ to XML: Easy Work in C# appeared first on {coding}Sight.

]]>
ASP.NET vs. PHP: the Best Framework for Web Development https://codingsight.com/asp-net-vs-php-best-framework-for-web-development/ Thu, 14 Jan 2021 12:33:45 +0000 https://codingsight.com/?p=11537 The primary goal of web development teams is to deliver web applications with the best user experience, scalability, and sustainability. Hence, developers always look for the right technology stack to build with these goals. There are various web technologies stacks like PHP, .Net, Ruby on Rails, Java, or Python. PHP and .NET are the most …

The post ASP.NET vs. PHP: the Best Framework for Web Development appeared first on {coding}Sight.

]]>
Using INNER JOIN to Combine SQL Server Tables and Display Them in ASP.NET Webforms https://codingsight.com/using-inner-join-to-combine-sql-server-tables-and-display-them-in-asp-net-webforms/ Wed, 06 Jan 2021 12:51:47 +0000 https://codingsight.com/?p=11559 This article describes the ways of using an INNER JOIN to combine results from two tables in the SQL Server database and display them in an HTML5 table inside an ASP.NET webform. Additionally, it touches on the question of using CSS3 (cascading style sheets) to apply a style to the HTML5 table in an ASP.NET …

The post Using INNER JOIN to Combine SQL Server Tables and Display Them in ASP.NET Webforms appeared first on {coding}Sight.

]]>
.NET – Tools for working with multithreading and asynchrony – Part 2 https://codingsight.com/net-tools-for-working-with-multithreading-and-asynchrony-part-2/ Sun, 14 Jul 2019 22:27:12 +0000 https://codingsight.com/?p=7421 This article comprises the second part of my speech at the multithreading meetup. You can have a look at the first part here. In the first part, I focused on the basic set of tools used to start a thread or a Task, the ways to track their state, and some additional neat things such …

The post .NET – Tools for working with multithreading and asynchrony – Part 2 appeared first on {coding}Sight.

]]>
.NET: Tools for working with multi-threading and asynchrony – Part 1 https://codingsight.com/net-tools-for-working-with-multi-threading-and-asynchrony-part-1/ Wed, 22 May 2019 22:28:24 +0000 https://codingsight.com/?p=7027 The need to do things in an asynchronous way – that is, dividing big tasks between multiple working units – was present long before the appearance of computers. However, when they did appear, this need became even more obvious. It is now 2019, and I’m writing this article on a laptop powered by an 8-core …

The post .NET: Tools for working with multi-threading and asynchrony – Part 1 appeared first on {coding}Sight.

]]>
Functional F# that slowly appears in C# https://codingsight.com/functional-f-that-slowly-appears-in-c/ https://codingsight.com/functional-f-that-slowly-appears-in-c/#comments Mon, 18 Dec 2017 10:28:26 +0000 http://codingsight.com/?p=2922 For some reason, we often do not use this functionality. Maybe we haven’t got used to it yet. And sometimes we use it, having no idea that this is the functionality from F#. Before reviewing it, let’s quickly run through the most interesting features that appeared in different versions of the language. Note that each time …

The post Functional F# that slowly appears in C# appeared first on {coding}Sight.

]]>
https://codingsight.com/functional-f-that-slowly-appears-in-c/feed/ 1
Resource Release in .NET Applications https://codingsight.com/resource-release-in-net-applications/ Fri, 01 Dec 2017 13:03:32 +0000 http://codingsight.com/?p=2840 In C#, there is one huge benefit, which is a drawback at the same time – an automatic garbage collection. With traditional desktop applications, this is great when a platform cleans up the whole garbage and releases memory. However, it is not always good for Web. When we develop a Web application, Web-requests are mainly …

The post Resource Release in .NET Applications appeared first on {coding}Sight.

]]>
Sending a Query to All Databases of All Specified Servers in MS SQL Server and C#.NET https://codingsight.com/sending-a-query-to-all-databases-of-all-specified-servers-in-ms-sql-server-and-c-net/ Wed, 15 Nov 2017 09:24:08 +0000 http://codingsight.com/?p=2680 Often, it is necessary to send a query to all databases of all specified servers. Many DML-queries can be created with built-in tools. However, what about DDL-queries? In this article, we are going to explore an example of implementing the application that sends a query to all databases of all specified servers, using MS SQL …

The post Sending a Query to All Databases of All Specified Servers in MS SQL Server and C#.NET appeared first on {coding}Sight.

]]>
What dangers can the update of .Net 4.6.1 to .Net 4.6.2 hide? https://codingsight.com/what-dangers-can-update-of-dot-net-hide/ Wed, 08 Nov 2017 14:58:54 +0000 http://codingsight.com/?p=2665 In this article, I would like to share a solution of unexpected problem occurred in one of the projects I am currently working on. What dangers can the update of .Net 4.6.1 to .Net 4.6.2 hide? I thought that to avoid serious issues during the update to a minor version, it was enough to read …

The post What dangers can the update of .Net 4.6.1 to .Net 4.6.2 hide? appeared first on {coding}Sight.

]]>
LINQ: Dynamic Creation of Query Filters https://codingsight.com/linq-dynamic-creation-of-query-filters/ Fri, 01 Sep 2017 12:46:11 +0000 http://codingsight.com/?p=2145 Sooner or later, each developer has to create data tables with the possibility to sort by columns. I am not an exception. In our project, there are similar tables almost on every page. So, 90 % of the content is output on them. Of course, search and sorting by tables work without reloading a page. …

The post LINQ: Dynamic Creation of Query Filters appeared first on {coding}Sight.

]]>