Sorteeri:   uued  |  hääli
  •  

    Meeldib
    Add this!

    NotSupportedException: No data is available for encoding 1252

    # 2017-10-05 11:22:00, DT blogi
    Another day, another surprise on .NET Core. Tried to load a file with Windows-1252 encoding and got the following exception: NotSupportedException: No data is available for encoding 1252. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method. H...
  •  

    Meeldib
    Add this!

    ASP.NET Core and IIS: 502.5 Process Failure 0x80004005 : 80008083

    # 2017-09-29 12:24:00, DT blogi
    When running ASP.NET Core on IIS one may get weird error Application ‘’ with physical root ‘’ failed to start process with commandline ‘”dotnet” .\MyApp.dll’, ErrorCode = ‘0x80004005 : 80008083. Here is one and most probable solution for this issue. It usually comes d...
  •  

    Meeldib
    Add this!

    Defensive database context for multi-tenant ASP.NET Core applications

    # 2017-09-04 12:40:00, DT blogi
    In multi-tenant applications where tenants share same data store cross-tenant operations must be avoided. There are many ways how bugs like this can happen. Be it hard to debug threading issue or some other complex situation, it is better when application components are ready for this kind of situat...
  •  

    Meeldib
    Add this!

    Unit testing multi-tenant database provider

    # 2017-08-29 13:36:00, DT blogi
    My saga on supporting multiple tenants in ASP.NET Core web applications has come to point where tenants can use separate databases. It’s time now to write some tests for data context to make sure it behaves correct in unexpected situations. This post covers unit tests for data context and multi-tena...
  •  

    Meeldib
    Add this!

    Handling missing tenants in ASP.NET Core

    # 2017-08-24 12:00:00, DT blogi
    My last post about multi-tenants applications with ASP.NET Core Implementing database per tenant strategy on ASP.NET Core I proposed some ideas about tenant providers but I didn’t focused on issues related to missing tenants. This post proposes missing tenant middleware that redirects faulty request...
  •  

    Meeldib
    Add this!

    Implementing database per tenant strategy on ASP.NET Core

    # 2017-08-23 12:22:00, DT blogi
    Let’s continue with multi-tenancy in ASP.NET Core web applications and focus on solutions where every tenant has its own database. It’s not only about database – there can be more services where every tenant has its own instance. It makes solution provided here easily extendable to also other servic...
  •  

    Meeldib
    Add this!

    Implementing tenant providers on ASP.NET Core

    # 2017-08-22 12:29:00, DT blogi
    In my previous post about global query filters in Entity Framework 2.0 I proposed an idea how to automatically apply query filters to all domain entities when model is built so enitites are always coming from the same tenant. This post digs deeper to possible solutions for detecting current tenant i...
  •  

    Meeldib
    Add this!

    Using bearer tokens in ASP.NET Core

    # 2017-08-21 12:34:00, DT blogi
    There are not much examples available about ASP.NET Core and acquiring access token. I found good and pretty big sample by Microsoft Patterns & Practices called multitenant-saas-guidance, Based on this I wrote my simple “boiler plate” ASP.NET Core solution that authenticates against Azure Active Dir...
  •  

    Meeldib
    Add this!

    Hiding search suggestion in Search Results Web Part

    # 2017-08-18 11:38:00, DT blogi
    I have page in SharePoint where users can search for specific type of items and see different results in Search Results Web Parts. The page I have has eight results web parts and when nothing is found I want to keep results web parts laconic and minimal so they don’t waste space on screen. What I w...
  •  

    Meeldib
    Add this!

    ASP.NET Core: Building enum provider to convert C# enums to JavaScript

    # 2017-08-17 11:30:00, DT blogi
    My previous post about ASP.NET Core and getting C# enums to JavaScript was primitive and used simple attribute on enums to detect ones we need in JavaScript. This blog post extends the idea and makes some generalizations to support also those enums that are located in the libraries we don’t control ...
  •  

    Meeldib
    Add this!

    Global query filters in Entity Framework Core 2.0

    # 2017-08-16 11:00:00, DT blogi
    Entity Framework Core 2.0 introduces global query filters that can be applied to entities when model is created. It makes it easier to build multi-tenant applications and support soft deleting of entities. This blog post gives deeper overview about how to use global query filters in real-life applic...
  •  

    Meeldib
    Add this!

    Like-operator in Entity Framework Core 2.0

    # 2017-08-15 13:11:00, DT blogi
    Entity Framework Core 2.0 was announces yesterday and it brings some new and cool features. One of them is SQL Like-operator we can use now using directly in our code. Here is the simple web application that demonstrates using of new Like-operator. Let’s start with simple Songs table in SQL Server ...
  •  

    Meeldib
    Add this!

    .NET Core, ASP.NET Core, EF Core and .NET Standard 2.0 announced

    # 2017-08-14 13:02:00, DT blogi
    Today Microsoft announced versions 2.0 of .NET Standard, .NET Core, ASP.NET Core and Entity Framework Core. Also new updated to Visual Studio 2017 are available (both stable and preview version). This blog post is summary of most important features announced today. .NET Standard 2.0 .NET Standard ...
  •  

    Meeldib
    Add this!

    ASP.NET Core: Converting C# enums to JavaScript

    # 2017-08-14 12:33:00, DT blogi
    In my previous posts about enums I covered how to convert C# enums to JavaScript on classic ASP.NET MVC. This blog post introduces how to do it on ASP.NET Core using simple view component. To get better understanding about my previous work on getting C# enums to JavaScript on classic ASP.NET MVC I s...
  •  

    Meeldib
    Add this!

    Converting System.Drawing.Color to hex

    # 2017-08-11 11:40:00, DT blogi
    One quick code note to make during building my Azure Cognitive Services demo application. I needed a way how to convert colors of System.Drawing to hex strings that I can use in views. Here is my simple and elegant solution. To convert Color to hexadecimal string we can use ColorTranslator class fr...

Sotsiaalmeedia!

Kui sind huvitab mida inimesed Sinu ettevõttest, tootest ja konkurentidest sotsiaalmeedias räägivad, tutvu lähemalt SocialDiveri teenusega. Sotsiaalmeedia monitooringusüsteemi on loonud Freqmedia - Eesti juhtiv infoseire ettevõte.

Tule ja liitu

Lisa blogi!

Lisa blogi! »

Uus blogikeskkond äriblogi.station.ee on organisatsioonide ja erinevate valdkondade asjatundjate blogikandeid ning Twitter võrgustiku teateid koondav infokeskkond. Blogi või Twitteri lisamine ning keskkonna kasutamine on kõigile tasuta.

Kui kirjutad mingil kindlal erialasel teemal või esindad blogosfääris oma ettevõtet, siis lisa blogi ja/või Twitter siit ».

Tere tulemast,
Station.ee meeskond