ASP .NET Core MVC, partitioned controllers and views into several csprojs
To partition your asp.net core project into several csprojs is easy or maybe you want to make use of one or more common functionality between multiple apps. ASP.Net Core came with an abstraction over the resource of an app, it’s called application parts. Using an appliction part, we can share controllers,views, tag helpers etc into…
asp .net core logging with Serilog
Easier logging in asp.net core with Serilog, is convenient and maintenance free when storing logs into file.
[CRUD] ASP .NET CORE MVC menggunakan Dapper
CRUD di asp .net core mvc menggunakan Dapper untuk mysql dan sql server
asp .net core Jwt Security Token
Issuer and SecurityKey To generate Jwt Security Token in asp.net core, we have to declare variables that are required for the token to be generated based on. Those variables are Issuer and SigningKey, we can put these variables in appsettings.json so we can read it later. https://gist.github.com/gsedubun/4d86dea1c253268de450526d1266e496 JwtBearerAuthentication Now to add jwtbearer middleware, we need…
how to dockerize asp.net core application
ASP .NET Core To dockerize your existing ASP.NET Core application, you need to install docker first. This article will explain on how to leverage docker-compose. To do development inside a docker container, you need to create a docker image. Let’s open a terminal and create a directory to put our project files, call it aspnetdocker. Then…

How to draw a marker on OpenStreetMap
To Use OpenStreetMap and draw marker we can use a javascript library, there’s a lot out there but for this example well use leafletjs.com. It’s open source, mobile friendly and lightweight and has a complete features most developers need. Leafletjs Now head over to the website and follow the quick start tutorial, that should be…

Cosuming Rest API in a WPF Application.
We’ll make a simple WPF application that consumes a web api. The WPF app is called IDX_NEWS, and the features are : fetching news announcement and view the details from http://www.idx.co.id. IDX API Before begin developing we need to check the website first, go to this url and while the website is loading press F12…
Cosuming JSON Rest API in C#
There is a lof of good libraries to consume JSON API in C#, we can search for rest client in nuger.org. First item on the search result is RestSharp, a simple REST and Http API client. You can also use System.Net.Http.HttpClient as it is a base for sending http requests and receiving http responses provided…

Angular 2 application with asp.net core API – Part 2
The angular template from dotnet cli is using the angular v4.4.6 LTS version. So we cannot use the latest angular v.5 APIs. After creating the angular components in earlier post now we need to write each component, if you use VSCode or Visual Studio this will be easy because the editor will provide intellisense for…
Loading…
Something went wrong. Please refresh the page and/or try again.
Follow My Blog
Get new content delivered directly to your inbox.