| 

.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

8

First steps with Azure OpenAI and .NET

... instance Create a .NET application and add the Azure.AI.OpenAI NuGet ... us something about .NET development."; Console.Write( "Input: {prompt}"); Response ... us something about .NET development. .NET development is a mature, ... to create sophisticated web applications, services, and ... great advantage of .NET development is its ... and Linux (using .NET Core). .NET development is also ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
vorgestern | 40 0
10

How to fix: 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine

In our product we can interact with different datasource and one of these datasources was a Microsoft Access DB connected via OLEDB . This is really, really old, but still works, but on one customer machine we had this issue: 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine Solution If you face this issue, you need to install the provider from here. Be ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
19.03.2023 | 54 0
7

Resource type is not supported in this subscription

I was playing around with some Visual Studio Tooling and noticed this error during the creation of a “Azure Container Apps”-app: Resource type is not supported in this subscription Solution The solution is quite strange at first, but in the super configurable world of Azure it makes sense: You need to activate the Resource provider for this feature on your subscription. For Azure ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
12.03.2023 | 61 0
8

Azure DevOps Server 2022 Update

Azure DevOps Server 2022 - OnPrem? Yes I know - you can get everything from the cloud nowadays, but we are still using our OnPrem hardware and were running the “old” Azure DevOps Server 2020. The _Azure DevOps Server 2022 was released last december, so an update was due. Requirements If you are running am Azure DevOps Server 2020 the requirements for the new 2022 release are “more or ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
16.02.2023 | 94 0
8

Use ASP.NET Core and React with Vite.js

... simple setup with ASP.NET Core & React. The React ... Create a “normal” ASP.NET Core project (I like the ASP.NET Core MVC template, ... from the original ASP.NET Core & React ... to glue the ASP.NET Core development and ... If you use .NET 7, then use ... if you use .NET 6, use the ... : var builder Web Application.CreateBuilder(args); // Add ... to build the ASP.NET Core app and ... Now start the ASP.NET Core app and ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
11.02.2023 | 147 0
10

Use ASP.NET Core & React togehter

The ASP.NET Core React template ... ships with a ASP.NET Core React template, ... post) and uses JavaScript instead of TypeScript. ... development time the ASP.NET Core stuff is ... hosted under the Web Pack Development server. ... ASP.NET Core app. Step ... ASP.NET Core project (I ... Web Pack Dev Server. ... .NET 7, then use ... .NET 6, use the ... Web Application.CreateBuilder(args); // Add ... Web Pack DevServer (or ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
26.01.2023 | 144 0
5

Your URL is flagged as malware/phishing, now what?

... session with the customer, I saw that it “should work”, but something in the customer net work blocks the requests to our services. Next thought: Firewall or proxy stuff. Always nasty, but we are ... to change this false positive listening. I guess there are tons of services, that “tracks” “bad” web sites and maybe all are connected somehow. From this indicent I can only suggest: If you ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
04.01.2023 | 152 2
6

SQLLocalDb update

Short Intro SqlLocalDb is a “developer” SQL server, without the “full” SQL Server (Express) installation. If you just develop on your machine and don’t want to run a “full blown” SQL Server, this is the tooling that you might need. From the Microsoft Docs: Microsoft SQL Server Express LocalDB is a feature of SQL Server Express targeted to developers. It is available on SQL Server ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
03.12.2022 | 178 0
6

Azure DevOps & Azure Service Connection

Today I needed to setup a new release pipeline on our Azure DevOps Server installation to deploy some stuff automatically to Azure. The UI (at least on the Azure DevOps Server 2020 (!)) is not really clear about how to connect those two worlds, and thats why I’m writing this short blogpost. First - under project settings - add a new service connection. Use the Azure Resource Manager ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
05.10.2022 | 322 0
9

'error MSB8011: Failed to register output.' & UTF8-BOM files

Be aware: I’m not a C developer and this might be an “obvious” problem, but it took me a while to resolve this issue. In our product we have very few C projects. We use these projects for very special Microsoft Office COM stuff and because of COM we need to register some components during the build. Everything worked as expected, but we renamed a few files and our build broke with: ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
31.08.2022 | 267 0
9

Which .NET Framework Version is installed on my machine?

If you need to know which .NET Framework Version (the “legacy” .NET Framework) is installed on your machine try this handy oneliner: Get-ItemProperty "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" Result: CBS : 1 Install : 1 InstallPath : C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ Release : 528372 Servicing : 0 TargetVersion : 4.0.0 Version : ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
30.08.2022 | 471 0
10

How to run a Azure App Service WebJob with parameters

We are using Web Jobs in our Azure App Service deployment and they ... for the most part. Just register a Web Jobs or deploy your .exe/.bat/.ps1/... under the \site\wwwroot\app_data\Jobs\triggered folder ... If you put any executable in this Web Job folder, it will be executed as planned. Problem: ... -param "test" ? Solution: run.cmd The Web Job environment is “greedy” and will search for a ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
23.07.2022 | 341 0
11

How to use IE proxy settings with HttpClient

... var targetUri new Uri(target); var proxyAddressForThisUri Web Request.GetSystemWebProxy().GetProxy(targetUri); if (proxyAddressForThisUri targetUri) { // no proxy ... new HttpClient(new HttpClientHandler() { Proxy new Web Proxy(proxyAddressForThisUri) { UseDefaultCredentials true } }); } The ... needed. Otherwise, we inject a new Web Proxy for this address. Hope this ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
29.03.2022 | 631 3
8

Redirect to HTTPS with a simple web.config rule

The scenario is easy: My web site is hosted in an IIS and would like to redirect all incomming HTTP traffic to the HTTPS counterpart. This is your ... /rules /rewrite /system.webServer /configuration We used this in the past to setup a “catch all” web site in an IIS that redirects all incomming HTTP traffic. The actual web applications had only the HTTPS binding in place. Hope this helps!
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
06.01.2022 | 759 4
8

Select random rows

Let’s say we have a SQL table and want to retrieve 10 rows randomly - how would you do that? Although I have been working with SQL for x years, I have never encountered that problem. The solution however is quite “simple” (at least if you don’t be picky how we define “randomness” and if you try this on millions of rows): ORDER BY NEWID() The most boring way is to use the ORDER BY NEWID() ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
07.12.2021 | 795 2
6

SQL collation problems

This week I deployed a new feature and tried it on different SQL databases and was a bit suprised that on one database this error message came up: Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation. This was strange, because - at least in theory - all databases have the same schema and I was sure that ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
25.11.2021 | 789 4
6

Microsoft Build 2021 session recommendations

... / Web View 2 [Mark ... Web Together Mode scenes ... .NET ](https://mybuild.microsoft.com/sessions/76ebac39-517d-44da-a58e-df4193b5efa9?source sessions) “.NET Core Momentum” .NET Upgrade Assistant Minimal web apis MAUI Blazor ... Web & Desktop Hot ... web app with Blazor & Web Assembly Learning video ... ASP.NET Core Service apps ... [.NET 6 deep dive; ... .NET Momentum .NET 5 - why .NET ... ASP.NET ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
25.09.2021 | 939 3
8

Today I learned (sort of) 'fltmc' to inspect the IO request pipeline of Windows

The headline is obviously a big lie, because I followed this twitter conversation last year, but it’s still interesting to me and I wanted to write it somewhere down. Starting point was that Bruce Dawson (Google programmer) noticed, that building Chrome on Windows is slow for various reasons: Based on some twitter discussion about source-file length and build times two months ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
31.05.2021 | 1090 6
8

How to self host Google Fonts

... font file (e.g. woff, ttf, eot etc.) and some CSS , which points to those font files. In one of our applications, ... this tool: Google-Web-Fonts-Helper Pick your font, select your preferred CSS option (e.g. if you need to support older browsers etc.) and download ... package. Extract those files and add them to your web project like any other static asset. (And check the font license!) The ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
29.04.2021 | 1012 8
9

Microsoft Graph: Read user profile and group memberships

In our application we have a background service, that “syncs” user data and group membership information to our database from the Microsoft Graph. The permission model: Programming against the Microsoft Graph is quite easy. There are many SDKS available, but understanding the permission model is hard. ‘Directory.Read.All’ and ‘User.Read.All’: Initially we only synced the ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.02.2021 | 1316 1
5

How to get all distribution lists of a user with a single LDAP query

In 2007 I wrote a blogpost how easy it is to get all “groups” of a given user via the tokenGroup attribute. Last month I had the task to check why “distribution list memberships” are not part of the result. The reason is simple: A pure distribution list (not security enabled) is not a security group and only security groups are part of the “tokenGroup” attribute. After some thoughts and ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
31.12.2020 | 1472 7
9

Update AzureDevOps Server 2019 to AzureDevOps Server 2019 Update 1

... itself don’t use the Windows Certificate Store. To resolve this, the root certificate from our Domain controller must be stored on the agent. [Environment]::SetEnvironmentVariable("NODE_EXTRA_CA_CERTS", "C:\SSLCert\root-CA.pem", "Machine") Summary The update itself was easy, but it took us some hours to configure our Build Agents. After the initial hiccup it went ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
30.11.2020 | 1057 4
6

DllRegisterServer 0x80020009 Error

Last week I had a very strange issue and the solution was really “easy”, but took me a while. Scenario For our products we b uild Office COM Addins with a C based “Shim” that boots up our .NET code (e.g. something like this. As the nature of COM: It requires some pretty dumb registry entries to work and in theory our toolchain should “build” and automatically “register” the output. ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.11.2020 | 912 3
7

How to share an Azure subscription in a team

We at Sevitec are moving more and more workloads for us or our customers to Azure. So the basic question needs an answer: How can a team share an Azure subscription? Be aware: This approach works for us. There might be better options. If we do something stupid, just tell me in the comments or via email - help is appreciated. Step 1: Create a directory We have a “company directory” with a ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
30.09.2020 | 1061 5
7

How to run a legacy WCF .svc Service on Azure AppService

... ones: WCF is or was a framework to build mostly SOAP based services in the .NET Framework 3.0 timeframe. Some parts where “good”, but most developers would call it a complex monster. ... To “re-map” the .svc extension to the correct handler I needed to add this to the web .config : ... system.webServer ... handlers remove name "svc-integrated" / add name "svc-integrated" path "*.svc" ...
.net asp.net asp.net-mvc csharp css html5 iis javascript jquery web
01.09.2020 | 1144 6
12345...17