asp.net core hands-on item (09) - exception handling

This article explains the technical essentials related to asp.net core exception handling. Configuring the asp.net core development environment Asp.net core divides the development environment for Web applications into Development, Staging, and Production. These different environments mean self-describing and are no longer explained. In a dev ...

Added by internet-solution on Sat, 25 Sep 2021 20:08:38 +0300

Using ASP.NET MVC framework to build login site summary

After a few days of simple learning of ASP.NET MVC framework and building a simple login site, I have a more overall understanding of Microsoft's MVC framework, including its structure on VS, the relationship between MVC layers, etc. Here I make a simple personal learning record and summarize the small project of building a login site. In my o ...

Added by richie19rich77 on Mon, 20 Sep 2021 08:35:37 +0300

.Net WeChat Computer Website Payment (api v2)

When merchants or enterprises go to the open platform of WeChat to apply for WeChat payment, it is important to note that the payment function of WeChat is not open to individual users. After opening the payment function, they will get the following configuration information about WeChat payment: Appid: is the unique identification of WeChat p ...

Added by akshay on Mon, 13 Sep 2021 19:54:45 +0300

Building database applications in Blazor - Part 4 - UI controls

catalogue introduce Repositories and databases assembly RouteViews form UI control UIBase Some examples UIButton UIColumn UILoader UIContainer/UIRow/UIColumn summary introduce This article is the fourth in a series on building Blazor database applications. This article focuses on the components we use in the UI, and then focuse ...

Added by tefuzz on Sun, 12 Sep 2021 20:33:36 +0300

C ා use await to call button event handler asynchronously

Click the button to implement asynchronously to realize the non blocking state of the interface.The asynchronous development mode recommended in C ා uses async to prompt for possible asynchronous operations, and await keyword to wait for tasks to wait for asynchronous operations.For the methods with Async suffix provided in. net library, await ...

Added by shooff2332 on Tue, 12 May 2020 17:36:54 +0300

Asp.net MVC simple implementation generate Excel and download

Due to the requirements on the project, you need to export the Excel file with the specified conditions. After a rummage, it finally came true. Now post the code and share it (directly share the code of some auxiliary classes in our project)   Our project uses Asp.Net MVC4.0 mode. Each ActionResult must return a View or Json, etc. (the paramete ...

Added by busterbry on Sun, 03 May 2020 03:07:20 +0300

ASP.NET open source import and export library used in Magicodes.IE Docker

Magicodes.IE used in Docker Update history 2019.02.13 Update Nuget to 2.0.2 [import] to repair the single column imported Bug, unit test "onecolumnimporter" '. See you. https://github.com/dotnetcore/Magicodes.IE/issues/35). [export] fixed the problem of template compiling and error reporting in some cases when exporting HTML, Pdf and ...

Added by fsumba on Sat, 15 Feb 2020 18:41:12 +0200

How to write an application of asp.net as a websocket server

Recently, a problem with WebSockets has plagued me for a long time. One requirement is to set up a websocket service on a web site.The client establishes a connection with the server through a web page, and the server sends information to the client web page based on ip. In fact, this requirement is not difficult, but at first you don't know mu ...

Added by markmil2002 on Fri, 14 Feb 2020 05:44:02 +0200

C ා MVC global error processing in application ා error (including Ajax request)

Deal with global errors in global.asax application? Error of MVC. If an error is reported before the request object is created, Context.Handler == null. When judged to be an Ajax request, we return the Json object string. When not an Ajax request, go to the error display page. /// <summary> /// Global error /// </summary> /// <p ...

Added by introvert on Thu, 09 Jan 2020 17:20:04 +0200

[UWP]UIElement.Clip is disabled, but it can play as well

1. Review the UIElement.Clip for WPF WPF has been around for a long time, but hardly ever actively uses its Clip property. I only remember that it is flexible enough to cut out many shapes.stay Official Documents After a review, the general usage and effect are as follows: <Image Source="sampleImages\Waterlilies.jpg" Width="200" Heigh ...

Added by Cynix on Sat, 04 Jan 2020 16:04:43 +0200