Tag:.netcore

  • . NETCORE gets configuration information in JSON and XML formats

    Time:2021-4-25

    This article will share with you: how to obtain configuration information in JSON and XML format, mainly introduces the use of configuration extension method, because the web application of NETCORE has been embedded in startup by default appsettings.json File configuration information, so I put the test point on the NETCORE console application; The use of […]

  • . net core add area code instance analysis

    Time:2021-3-3

    1、 As shown in the figure below 2、 Build a good framework and delete unnecessary packages 3、 Add route app.UseEndpoints(endpoints => { endpoints.MapControllerRoute( name: “default”, pattern: “{controller=Home}/{action=Index}/{id?}”); endpoints.MapAreaControllerRoute( name: “areas”, “areas”, pattern: “{area:exists}/{controller=Home}/{action=Index}/{id?}”); }); 4、 Add controller using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace NLD.HouTai.Areas.Api.Controllers { [ApiController] [Area(“API”)] [Route(“API/[controller]/[action]”)] […]

  • Implementation example of interface cache in. NETCORE

    Time:2021-1-14

    1. Question:We usually use the cache function when we do development. The general writing method is to read the cache in the required business code, judge whether it exists or not, read the database and then set the cache. However, if we have many places where the business is useful for caching, we need to […]

  • How to use EF core to migrate database to SQL Server in. Net core class library

    Time:2020-10-12

    preface If you have just used the Entity Framework core as the ORM framework, you will surely encounter some problems with database migration. At first I was in ASP.NET It was carried out in the web project of core, but later it was found that it was not very reasonable to put it here. Some […]

  • . net technology salon activity – DNT elite forum: witness. Net, successful cases on the tuyere!

    Time:2019-12-7

    On July 28, 2019, the first phase of DNT Elite Forum (and. Net Beijing Club) will be held in Zhongguancun International maker center in Beijing. Launched by senior. Net experts and community activists, the forum is based on the principle of “sharing, growth, cooperation and win-win” and aims to build a leading technology sharing platform […]

  • DNT Elite Forum (and. NET Beijing Club) Phase 2 Technology Salon Activity

    Time:2019-10-9

    DNT Elite Forum and. NET Beijing Club is a technology forum initiated by senior. NET experts and community activists. With the principle of “sharing, growth, cooperation and win-win”, DNT Elite Forum and. NET Beijing Club is committed to building a leading technology sharing platform and growth exchange ecology. The second salon share topics: NET Core […]

  • DNT Elite Forum (Beijing.NET Club) second technical salon activities

    Time:2019-10-6

    DNT elite forum and.NET Beijing club is a technical forum sponsored by senior.NET experts and community activists. With the principle of “sharing, growing, cooperation and win win”, we are committed to building a leading technology sharing platform and growing communication ecosystem. The second salon share topics: NET Core Cloud Native and DevOps PracticePractice of. NET […]

  • NET Technology Salon Activity – DNT Elite Forum: Witness. NET, Successful Cases on the Windport!

    Time:2019-8-17

    On July 28, 2019, the first phase of DNT Elite Forum (and. NET Beijing Club) will be held in Beijing Zhongguancun International Tourist Center. Initiated by senior. NET experts and community activists, the forum aims to build a leading technology sharing platform and growth exchange ecology based on the principle of “sharing, growth, cooperation and […]

  • Step Record of Integrating JWT with asp.net core

    Time:2019-7-15

    [What is JWT] JSON Web Token (JWT) is the most popular cross-domain authentication solution at present. JWT’s official address: https://jwt.io/ Generally speaking, JWT is a token that can represent the user’s identity. You can use the JWT token to verify the user’s identity in the API interface to confirm whether the user has access to […]

  • What are the mainstream ORM frameworks in. NET (C#)? FreeSql, SqlSugar, Dapper, EF or…

    Time:2019-4-1

    Preface In a previous article, I shared with you what is ORM? Why use ORM? Brief analysis of the use of ORM and its advantages and disadvantages. So what are the mainstream ORM, FreeSql, SqlSugar, Dapper, Entity Framework (EF) or ServiceStack. OrmLite in the current. NET (C_#) world? Or do you have better ORM recommendations? […]

  • New try! Component One WinForm and. NET Core 3.0

    Time:2019-2-1

    At the Microsoft Build 2018 Developer Conference, the. NET team released the blueprint for the next major version of. NET Core 3.0: NET Core 3 will begin supporting Windows desktop applications, including Windows Form, Windows Presentation Framework (WPF) and UWP XAML. At that time, Windows desktop applications will be able to run in. NET Core […]