Ref: https://www.nuget.org/packages/EnterpriseLibrary.Data.NetCore/ The Enterprise Library Data Access Application Block simplifies the development of tasks that implement common data access functionality. Applications can use this application block in a variety of situations, such as reading data for display, passing data through application layers, and submitting changed data back to the database system. This library contains a class library that targets .Net Core 2.0 & .Net Standard 2.0 Install-Package EnterpriseLibrary.Data.NetCore -Version 6.0.1313
Global exception handler: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/error-handling?view=aspnetcore-2.2 Asp.net core hosting Issue: https://blogs.msdn.microsoft.com/benjaminperkins/2018/06/07/asp-net-core-2-1-and-http-error-502-5-process-failure/ ASP.NET Core Refere https://www.tutorialsteacher.com/core/aspnet-core-introduction nces: ASP.NET Core is a free, open-source and cloud optimized web framework which can run on Windows, Linux, or Mac. ASP.NET Core is a modular framework distributed as NuGet packages. This allows us to include packages that are required in our application. ASP.NET Core is designed to be deployed on cloud as well as on-premises. Developers can now build cloud-based web applications, IoT (Internet of Thing) and mobile backend applications using ASP.NET Core framework which can run on Windows, Linux, and Mac operating systems. Version Release Date ASP.NET Core 2.0 August 2017 ASP.NET Core 1.1 November 2016 ASP.NE...
AngularJs Factory and Services. References: https://blog.thoughtram.io/angular/2015/07/07/service-vs-factory-once-and-for-all.html The difference between services and factories we can define a service like this: app . service ( 'MyService' , function () { this . sayHello = function () { console . log ( 'hello' ); }; }); .service() is a method on our module that takes a name and a function that defines the service. app . factory ( 'MyService' , function () { return { sayHello : function () { console . log ( 'hello' ); } } }); .factory() is a method on our module and it also takes a name and a function, that defines the factory. a service is a constructor function where as a factory is Not .T here’s ' this ' code that calls Object.create() with the service constructor function, when it gets instantiated. However, a factory function is really just a function that gets called, ...
Comments
Post a Comment