Category: .NET Core
-
Interpreter–part 1 of n – Idea
Series: http://msprogrammer.serviciipeweb.ro/2018/07/16/interpreterpart-1-of-n/ – Idea http://msprogrammer.serviciipeweb.ro/2018/07/23/interpreterpart-2-of-n/ – Coding http://msprogrammer.serviciipeweb.ro/2018/07/30/interpreterpart-3-of-n/ – Testing http://msprogrammer.serviciipeweb.ro/2018/08/06/interpreterpart-4-of-n/ – Deploy http://msprogrammer.serviciipeweb.ro/2018/08/13/interpreterpart-5-of-n/ – Documentation http://msprogrammer.serviciipeweb.ro/2018/08/20/interpreterpart-6-of-n/ – Ecosystem / usage For Stankins I need a custom interpreter of serialized data. What this means,exactly ? Let’ suppose I have an appsetting file with a connection string { “SqlServerConnectionString”: “Server=(local)\\SQL2016;Database=tempdb;Trusted_Connection=True;” } If I use…
-
Angular,CORS and .NET Core SignalR
I have written a .NET Core SignalR + Agular Observable of continously delivering the data. (http://msprogrammer.serviciipeweb.ro/2018/06/25/net-core-signalr-hub-angular-observable/ ) The setup is that .NET WebAPI resides in Visual Studio Project ( .sln. .csproj) and Angular Project is separate in another folder. There are some settings in the development to be done in order to work Setting CORS…
-
From unstructured data to application
Imagine that you have this kind of texts: Alpert of Metz – 11th-century – France – Medieval writers Aimoin of Fleury – c. 960 – c. 1010 – France – Medieval writers Amulo Lugdunensis (Archbishop of Lyon) – 9th-century – France – Medieval writers Amulo Lugdunensis (Archbishop of Lyon) – 9th-century – France / Carolingian…
-
.NET Core SignalR Hub+ Angular Observable
TL;DR: Deliver all the table content continuously paginated to the browser with .NET Core and Angular Long Description: I was thinking that delivering paginating data is kind of lame. Why should I,for seeing the whole data,should keep pressing next page / or scrolling down ? I understand that on the server it is necessary to…
-
Angular,.NET Core,IIS Express and Windows Authentication
2 years ago I have written about .NET Core Windows Authentication :http://msprogrammer.serviciipeweb.ro/2016/09/26/asp-net-core-and-windows-authentication/ The idea was that for Windows authentication this is mandatory in Web.Config: forwardWindowsAuthToken=”true” Now I want to show how to achieve the same in IIS Express .NET Core as backend and Angular for front end For .NET Core / IIS Express 1. Configure…
-
.NET Core 2.0 WebAPI with .NET Framework 4.6( for COM interoperability)
The problem : I want some .NET Core Web API in Kestrel mode that have access to some COM components ( such as Word.Application ) Solution: ( Theory : in order to have dll’s that works in .NET Framework application and in .NET Core,you should have .NET Standard 2.0 along .NET Framework 4.6.1 and .NET…
-
Tiny Types–documentation–part 4
This is a series http://msprogrammer.serviciipeweb.ro/2018/03/12/tiny-types-in-cpart-1/ http://msprogrammer.serviciipeweb.ro/2018/03/19/tiny-types-part-2adding-iequatable/ http://msprogrammer.serviciipeweb.ro/2018/03/26/tinytypesadding-equality-operatorpart-3/ http://msprogrammer.serviciipeweb.ro/2018/04/02/tiny-typesdocumentationpart-4/ tiny types in C# Tiny types is a NuGET dll,https://www.nuget.org/packages/TinyTypesObjects/ Also,you can find the construction here: http://msprogrammer.serviciipeweb.ro/category/tinytypes/ The documentation is copied shameless from https://github.com/jan-molak/tiny-types Installation To install the module from nuget : … Install-Package TinyTypesObjects … Defining Tiny Types An int on its own is just a…
-
TinyTypes–adding equality operator–part 3
This is a series http://msprogrammer.serviciipeweb.ro/2018/03/12/tiny-types-in-cpart-1/ http://msprogrammer.serviciipeweb.ro/2018/03/19/tiny-types-part-2adding-iequatable/ http://msprogrammer.serviciipeweb.ro/2018/03/26/tinytypesadding-equality-operatorpart-3/ http://msprogrammer.serviciipeweb.ro/2018/04/02/tiny-typesdocumentationpart-4/ Now we have come to the interesting part – the equality operator. We have already operator equals,but not == Because we primary want this TinyTypes for structs( int,double,bool,and so on) we can define a new class For this we could implement operator == by using the Equals…
-
Tiny Types part 2–adding IEquatable
This is a series http://msprogrammer.serviciipeweb.ro/2018/03/12/tiny-types-in-cpart-1/ http://msprogrammer.serviciipeweb.ro/2018/03/19/tiny-types-part-2adding-iequatable/ http://msprogrammer.serviciipeweb.ro/2018/03/26/tinytypesadding-equality-operatorpart-3/ http://msprogrammer.serviciipeweb.ro/2018/04/02/tiny-typesdocumentationpart-4/ As always,the bigger problem is adding equality. The Tiny Type should be equal with the inner value – and with the other type with the same value. And,in C#,when you implement equality,there is a whole theory – see https://msdn.microsoft.com/en-us/library/336aedhh(v=vs.100).aspx . So the code to define equality is…
-
Tiny types in C#–part 1
This is a series http://msprogrammer.serviciipeweb.ro/2018/03/12/tiny-types-in-cpart-1/ http://msprogrammer.serviciipeweb.ro/2018/03/19/tiny-types-part-2adding-iequatable/ http://msprogrammer.serviciipeweb.ro/2018/03/26/tinytypesadding-equality-operatorpart-3/ http://msprogrammer.serviciipeweb.ro/2018/04/02/tiny-typesdocumentationpart-4/ I have read about tiny types in Javascript – at https://darrenhobbs.com/2007/04/11/tiny-types/ and at https://janmolak.com/tiny-types-in-typescript-4680177f026e . It was an interesting idea – especially in this world of REST API . I decided to make the same on C# – so here it is: https://github.com/ignatandrei/tinyTypes and at https://www.nuget.org/packages/TinyTypesObjects .…