| 

.NET C# Java Javascript Exception

Code-Inside Blog

Blog über die moderne Webentwicklung mit ASP.NET MVC, Javascript & HTML5 auf der Microsoft Plattform.
Über den Autor
Robert Mühsig ist Webentwickler bei der T-Systems Multimedia Solutions GmbH in Dresden und wurde von Microsoft mit dem ASP.NET MVP Award ausgezeichnet.
Webseite des Autors Themen des Autors
.net allgemein asp.net asp.net-mvc azure azure-ad azure-websites bootstrap browser chrome cloud csharp css dart entity-framework fix games git github google howto howtocode html5 icons iis javascript jquery metro nosql nuget oauth open-source oss owin powershell ravendb rest rss security tfs twitter ui veranstaltungen visual-studio waad web webdeploy windows-8 windows-azure windows-phone-7
Auf codekicker News finden Programmierer redaktionell vorausgewählte und daher hochwertige Artikel zu verschiedenen, auswählbaren Themen. Auch dieser Autor veröffentlicht seine Artikel auf codekicker News.

» News weiterer Autoren
» Auch Autor werden


News und Artikel von Code-Inside Blog

9

Be afraid of varchar(max) with async EF or ADO.NET

Last month we had changed our WCF APIs to async implementations, because we wanted all those glorious scalability improvements in our codebase. The implementation was quite easy, because our service layer did most of the time just some simple EntityFramework 6 queries. The field test went horribly wrong After we moved most of the code to async we did a small test and it worked quite ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
27.09.2018 | 44 1
3

Migrate a .NET library to .NET Core / .NET Standard 2.0

... to .NET Standard 2.0. This ... .NET Standard. Uhmmm… wait… ... .NET Standard? If you ... .NET Standard is a ... .NET implementations like the ... .NET Framework or .NET Core. But hold ... .NET implementations that support ... .NET Standard Back to ... .NET Framework. All projects ... .NET Standard 2.0 The ... .NET Core and .NET Standard Made Easy” ... .NET Standard projects and ... .NET Standard I really ... .NET Standard library ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
31.08.2018 | 107 0
4

Improving Code

Improving code TL;DR; Things I learned: long one-liners are hard to read and understand split up your code into small, easy to understand functions less “plumping” (read infrastructure code) is the better get indentation right “Make it correct, make it clear, make it concise, make it fast. In that order.” Wes Dyer Why should I bother? Readable code is: easier to debug fast to fix ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
03.08.2018 | 77 0
7

Easy way to copy a SQL database with Microsoft SQL Server Management Studio (SSMS)

How to copy a database on the same SQL server The scenario is pretty simple: We just want a copy of our database, with all the data and the complete scheme and permissions. 1. step: Make a back up of your source database Click on the desired database and choose “Backup” under tasks. 2. step: Use copy only or use a full backup In the dialog you may choose “copy-only” backup. With this option ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.08.2018 | 104 1
9

DbProviderFactories & ODP.NET: When even Oracle can be tamed

Oracle and .NET : Tales from the dark ages ... add some config entries in your web .config or app.config. I will cover ... earlier after the installation your web or app.config might look different. The ... Data Provider for .NET , Managed Driver" type "Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, ... a Oracle database from .NET doesn’t need to be a pain ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.06.2018 | 404 1
9

CultureInfo.GetCultureInfo() vs. new CultureInfo() - what's the difference?

The problem The problem started with a simple code: double.TryParse("1'000", NumberStyles.Any, culture, out _) Be aware that the given culture was “DE-CH” and the Swiss use the ‘ for the separator for numbers. Unfortunately the Swiss authorities have abandoned the ‘ for currencies, but it is widly used in the industrie and such a number should be parsed or displayed. Now ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
29.05.2018 | 477 0
6

.editorconfig: Sharing a common coding style in a team

... I ended up with the .editorconfig of the CoreCLR. It is more or less the “normal” .NET style guide. I’m not sure if I love the the “var”-setting and the “static private field naming (like ... code analysis as part of their NuGet packages. Because these analyzers are powered by the .NET Compiler Platform (code-named “Roslyn”), they can produce warnings in your code as you type even before ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.05.2018 | 464 0
11

Did you know that you can run ASP.NET Core 2 under the full framework?

... default way: Running .NET Core AFAIK the ... matter anyway for .NET Core related projects. ... create a new ASP.NET Core application you ... upper left corner: .NET Core is currently ... PropertyGroup TargetFramework net coreapp2.0 /TargetFramework /PropertyGroup ... TargetFramework net 461 /TargetFramework /PropertyGroup ... .NET Framework you can’t ... .NET Core only, and ... ASP.NET Core 2.1 the ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.04.2018 | 650 0
6

Windows Fall Creators Update 1709 and Docker Windows Containers

Who shrunk my Windows Docker image? We started to package our ASP.NET /WCF/Full-.NET Framework based web app into Windows Containers, which we then publish to the Docker Hub. Someday we discovered that one of ... from March(?). Docker resolves the base images for Windows like this: If you pull the ASP.NET Docker image from a Windows 10 Client OS with the Fall Creators Update you will ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
28.02.2018 | 152 0
7

WCF Global Fault Contracts

If you are still using WCF you might have stumbled upon this problem: WCF allows you to throw certain Faults in your operation, but unfortunatly it is a bit awkward to configure if you want “Global Fault Contracts”. With this solution here it should be pretty easy to get “Global Faults”: Define the Fault on the Server Side: Let’s say we want to throw the following fault in all our ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.02.2018 | 172 0
8

First steps to enable login with Microsoft or Azure AD account for your application

... less legacy and I wouldn’t use them anymore. Step 2: Choose a platform Now you need to choose your application platform. If you want to enable the sign-in stuff for your web application you need to choose “Web ” and insert the redirect URL. After the sign-in process the token will be send to this URL. Step 3: Choose Microsoft Graph Permissions (Scopes) In the last step you need to select ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
31.12.2017 | 181 0
8

Signing with SignTool.exe - don't forget the timestamp!

If you currently not touching signtool.exe at all or have nothing to do with “signing” you can just pass this blogpost, because this is more or less a stupid “Today I learned I did a mistake”-blogpost. Signing? We use authenticode code signing for our software just to prove that the installer is from us and “safe to use”, otherwise you might see a big warning from Windows that the ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
02.12.2017 | 720 0
10

Signing with SignTool.exe - don't forget the timestamp!

If you currently not touching signtool.exe at all or have nothing to do with “signing” you can just pass this blogpost, because this is more or less a stupid “Today I learned I did a mistake”-blogpost. Signing? We use authenticode code signing for our software just to prove that the installer is from us and “safe to use”, otherwise you might see a big warning from Windows that the ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.12.2017 | 162 0
8

Introducing Electron.NET - building Electron Desktop Apps with ASP.NET Core

... known Electron and .NET . If you ... desktop apps with ASP.NET Core (or .NET Core in general) ... stack available for .NET Core. After a ... and somehow “embed” ASP.NET Core in it. ... to launch the ASP.NET Core application inside ... APIs from the .NET World. First steps ... the ASP.NET Core process The ... .NET Core process with ASP.NET Core port (e.g. ... ASP.NET Core app and ... Web Host - maybe ... web server inside the ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.11.2017 | 918 0
10

dnSpy - a OSS IL decompiler and debugger

... allowed to install anything. Soooo… he searched around and found this: dnSpy - a .NET assembly editor, decompiler, and debugger The title contains the major points. It is a decompiler, ... to make sure you keep this in mind: The debugging works with every .NET application (at least in theory), because it decompiles the .NET IL language to C#. It is not a 1:1 debugger, but maybe it can help ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.10.2017 | 510 2
4

IdentityServer3 with WindowsAuthentication with ASP.NET WebApi & ASP.NET & WPF App

... be hosted via IIS (or IIS Express) with Windows authentication enabled. The ASP.NET app acts as ... The Web App itself can ... also hosts a Web Api. The Web Api is secured ... via a Web Browser-Control from the ... Web Api that is ... ASP.NET application. To include ... IIS Express or something ... ‘Web App’ Project This ... ASP.NET MVC project with Web Api 2 included. ... ASP.NET Core related, but ... Web Api Browser Auth ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
31.08.2017 | 462 0
6

How to convert .crt & .key files to a .pfx

The requirements are simple: You will need the .cer with the corresponding .key file and need to download OpenSSL. If you are using Windows without the awesome Linux Subsystem, take the latest pre-compiled version for Windows from this or this site. Otherwise with Bash on Windows you can just use OpenSSL via its “native” environment. Thanks for the hint @kapsiR After the download ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.08.2017 | 901 2
12

Non-cryptographic hash functions for .NET

... What other choice are available? Non-cryptographic hash functions in .NET If you are googleing around you will find many different hashing ... the Twitter discussion mentioned a very good library for .NET developers: for the hashing function, I think I'll lead ... of this awesome package is Brandon Dahler, who created .NET versions of the most well known algorithm and published them as ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
30.06.2017 | 256 0
8

Using Visual Studio Code & Team Foundation Version Control (TFVC)

Recently we start working on a Angular 4 app but all other parts of the application (e.g. the backend stuff) were stored in a good old TFVC based repository (inside a Team Foundation Server 2015) . Unfortunately building an Angular app with the full blown Visual Studio with the “default” Team Explorer workflow is not really practical. Another point for using Visual Studio Code was ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
30.05.2017 | 399 0
4

.NET CultureInfo in Windows 10

... on older Windows versions. I discovered this problem while debugging our backend admin application. With this ASP.NET frontend it is possible to add or manage “localized” content and the dropdown for the possible ... with Windows Vista, but only with Windows 10 it will be “easy” usable within the .NET Framework. (update!) LCID 8192? Today I was preparing a new machine and I found a ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
24.04.2017 | 665 0
7

How we moved to Visual Studio 2017

Visual Studio 2017 has arrived and because of .NET Core and other goodies we wanted to switch fast to the newest release with our product OneOffixx. ... In our solution we use some VC projects (just for Office Development & building a .NET shim), Windows Installer XML & many C# projects for desktop or ASP.NET stuff. Our builds are scripted with CAKE (see here for some more blogposts about ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
28.03.2017 | 384 0
4

HowTo: Get User Information & Group Memberships from Active Directory via C#

I had to find a way to access all group memberships from a given Active Directory user. The problem here is, that groups may contain other groups and I needed a list of “all” applied group memberships - directly or indirectly. The “fastest” solution (without querying each group) is to use the Token-Groups attribute, which already does this magic for us. This list should contain all ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
03.03.2017 | 375 0
7

HowTo: Get User Information & Group Memberships from Active Directory via C#

I had to find a way to access all group memberships from a given Active Directory user. The problem here is, that groups may contain other groups and I needed a list of “all” applied group memberships - directly or indirectly. The “fastest” solution (without querying each group) is to use the Token-Groups attribute, which already does this magic for us. This list should contain all ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
03.03.2017 | 322 0
13

Create NuGet packages with Cake

... command. Before we invoke this command we need to make sure that we b uild the last recent version - to enforce that we just rebuild ... task: RunTests Start Running Tests xUnit.net Console Runner (64-bit .NET 4.0.30319.42000) Discovering: Sloader.Config.Tests Discovered: Sloader.Config.Tests Starting: Sloader.Config.Tests Finished: Sloader.Config.Tests Discovering: ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
14.02.2017 | 842 0
9

Build & run xUnit tests with Cake

... BuildTests RunTests Executing task: RunTests Start Running Tests xUnit.net Console Runner (64-bit .NET 4.0.30319.42000) Discovering: Sloader.Config.Tests Discovered: Sloader.Config.Tests Starting: Sloader.Config.Tests Finished: Sloader.Config.Tests Discovering: Sloader.Engine.Tests Discovered: Sloader.Engine.Tests Starting: Sloader.Engine.Tests ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
08.02.2017 | 601 0
12345...15