| 

.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

10

IdentityServer & Azure AD Login: Unkown Response Type text/html

The problem Last week we had some problems with our Microsoft Graph / Azure AD login based system. From a user perspective it was all good until the redirect from the Microsoft Account to our IdentityServer. As STS and for all auth related stuff we use the excellent IdentityServer4. We used the following configuration: services.AddAuthentication() ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
13.10.2019 | 73 2
7

Enforce Administrator mode for builded dotnet exe applications

... "false" / Step by Step for .NET Framework apps Create your WPF, WinForms or Console project ... are done. Step by Step for .NET Core apps The same approach works more or less for .NET Core 3 apps: Add a “application ... PropertyGroup OutputType Exe /OutputType TargetFramework net coreapp3.0 /TargetFramework ApplicationManifest app.manifest /ApplicationManifest /PropertyGroup ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
30.09.2019 | 49 0
6

Check installed version for ASP.NET Core on Windows IIS with Powershell

... you have a ASP.NET Core application without the bundled ASP.NET Core runtime (e.g. ... your ASP.NET Core application on ... by IIS . General approach ... .NET Core hosting bundle ... .NET Core Runtime (and ... .NET runtime 2.2.1), still ... .NET Core 2.X applications) ... “ASP.NET Core seems to ... .NET Core.*Windows Server Hosting" ... .NET Core Runtime: _ ... ".NET Core Runtime (MiniumVersion ... .NET Core runtime on ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.09.2019 | 220 4
5

SQL Server, Named Instances & the Windows Firewall

... problem “Cannot connect to sql\instance. A net work-related or instance-specific error occurred while ... to allow remote connections. (provider: SQL Net work Interfaces, error: 26 - Error ... needs - use this command: net sh advfirewall firewall add rule name ... two additional ports: net sh advfirewall firewall add rule name ... with this command: net sh advfirewall firewall add rule name ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.08.2019 | 160 3
7

Jint: Invoke Javascript from .NET

... dreamed to use Javascript in your .NET application there is a simple way: ... use from any .NET implementation (Xamarin, .NET Framework, .NET Core). Just use the NuGet package ... Why should integrate Javascript in my application? In our product “OneOffixx” we use Javascript as a scripting language ... pro arguments for Javascript : It’s a ... execute some simple Javascript and returen the ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.07.2019 | 102 0
7

Build Windows Server 2016 Docker Images under Windows Server 2019

... server side stack in a Docker image. Windows Server 2016 situation: We rely on Windows Docker Images, because we still have some “legacy” parts that requires the full .NET Framework, thats why we are using this base image: FROM microsoft/aspnet:4.7.2-windowsservercore-ltsc2016 As you can already guess: This is based on a Windows Server 2016 and besides the “legacy” parts of ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.06.2019 | 228 3
5

Update OnPrem TFS 2018 to AzureDevOps Server 2019

We recently updated our OnPrem TFS 2018 installation to the newest release: Azure DevOps Server The product has the same core features as TFS 2018, but with a new UI and other improvements. For a full list you should read the Release Notes. *Be aware: This is the OnPrem solution, even with the slightly missleading name “Azure DevOps Server”. If you are looking for the Cloud solution ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.05.2019 | 229 6
9

Load hierarchical data from MSSQL with recursive common table expressions

Scenario We have a pretty simple scenario: We have a table with a simple Id ParentId schema and some demo data in it. I have seen this design quite a lot in the past and in the relational database world this is the obvious choice. Problem Each data entry is really simple to load or manipulate. Just load the target element and change the ParentId for a move action etc.. A more complex ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.04.2019 | 140 0
6

Check Scheduled Tasks with Powershell

Task Scheduler via Powershell Let’s say we want to know the latest result of the “GoogleUpdateTaskMachineCore” task and the corresponding actions. All you have to do is this (in a Run-As-Administrator Powershell console) : Get-ScheduledTask where TaskName -EQ 'GoogleUpdateTaskMachineCore' Get-ScheduledTaskInfo The result should look like this: LastRunTime : ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
27.02.2019 | 316 22
8

Office Add-ins with ASP.NET Core

... powered by HTML, Javascript and CSS . The cool stuff is, that ... Studio Template: Urgh… ASP.NET Because of the “new” nature of ... templates still uses ASP.NET and not ASP.NET Core. ASP.NET Core Sample If you want to use ASP.NET Core, you might ... look at my ASP.NET Core-sample. It is ... Warning: In the “ASP.NET ”-Offce-Addin-development world there ... be working with ASP.NET Core projects. The ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.02.2019 | 306 0
4

How to use TensorFlow with AMD GPU's

How to use TensorFlow with AMD GPU’s Most machine learning frameworks that run with a GPU support Nvidia GPUs, but if you own a AMD GPU you are out of luck. Recently AMD has made some progress with their ROCm platform for GPU computing and does now provide a TensorFlow build for their gpus. Since I work with tensorflow and own a AMD GPU it was time to give it a try. I stumpled upon these ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
05.12.2018 | 556 29
6

Make your WCF Service async

Oh my: WCF??? This might be the elephant in the room: I wouldn’t use WCF for new stuff anymore, but to keep some “legacy” stuff working it might be a good idea to modernize those services as well. WCF Service/Client compatibility WCF services had always close relationships with their clients and so it is no suprise, that most guides show how to implement async operations on the server ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
03.12.2018 | 484 0
11

HowTo: Run a Docker container using Azure Container Instances

Azure Container Instances There are (at least) 3 diffent ways how to run a Docker Container on Azure: Using the Web App for Containers Using Azure Kubernetes Service (AKS) Using Azure Container Instances In this blogpost we will take a small look how to run a Docker Container on this service. The “Azure Container Instances”-service is a pretty easy service and might be a good first ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
13.11.2018 | 257 3
7

How to fix ERR_CONNECTION_RESET & ERR_CERT_AUTHORITY_INVALID with IISExpress and SSL

... environment for a web site that uses ... & IIS Express related certs ... IIS Express? Well - ... IIS Express certs I ... IIS Express installation and ... IIS Express was working ... IIS Express at least ... IIS Express certs in ... IIS Express via the ... IIS Express via the ... “Iis ExpressAdminCmd.exe” - this ... IIS Express bitness settings. ... “net sh” from a ... net sh), e.g.: net sh http delete ... net sh http add ... net sh tool, but ... Iis ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.11.2018 | 622 11
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 | 329 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 | 277 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 | 284 2
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 | 290 2
14

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 | 667 11
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 | 682 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 | 1057 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 | 919 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 | 365 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 | 322 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 | 367 0
12345...16