| 

.NET C# Java Javascript Exception

Auf codekicker.news findest du alle Informationen von Softwareentwicklern für Softwareentwickler: Blog-Beiträge und News zu Technologien, Tools und Technik.

73 Autoren machen bereits mit!

» Alle News und Artikel
» Autoren

Mitmachen: Reiche deinen eigenen Blog zu .NET, Java, PHP, JavaScript, Web, Mobile, ... ein.

» FAQ für Blogger und Autoren
» Mitmachen: Eigenen RSS-Feed einreichen

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...
01.02.2021 | 207 0 | Code-Inside Blog
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...
31.12.2020 | 366 5 | Code-Inside Blog
9

Update AzureDevOps Server 2019 to AzureDevOps Server 2019 Update 1

We did this update in May 2020, but I forgot to publish the blogpost… so here we are Last year we updated to Azure DevOps Server 2019 and it went more or less smooth. In May we decided to update to the “newest” release at that time: Azure DevOps Server 2019 Update 1.1 Setup Our AzureDevOps Server was running on a...
30.11.2020 | 433 4 | Code-Inside Blog
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 build 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...
01.11.2020 | 334 3 | Code-Inside Blog
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...
30.09.2020 | 371 2 | Code-Inside Blog
7

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

Last month we wanted to run good old WCF powered service on Azures “App Service”. WCF… what’s that? If you are not familiar with WCF: Good! For the interested 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...
01.09.2020 | 509 1 | Code-Inside Blog
8

EWS, Exchange Online and OAuth with a Service Account

This week we had a fun experiment: We wanted to talk to Exchange Online via the “old school” EWS API, but in a “sane” way. But here is the full story: Our goal We wanted to access contact information via a web service from the organization, just like the traditional “Global Address List” in Exchange/Outlook. We...
01.08.2020 | 393 2 | Code-Inside Blog
10

Can a .NET Core 3.0 compiled app run with a .NET Core 3.1 runtime?

Within our product we move more and more stuff in the .NET Core land. Last week we had a disussion around needed software requirements and in the .NET Framework land this question was always easy to answer: .NET Framework 4.5 or higher. With .NET Core the answer is sligthly different: In theory major versions...
01.07.2020 | 639 4 | Code-Inside Blog
11

SqlBulkCopy for fast bulk inserts

Within our product OneOffixx we can create a “full export” from the product database. Because of limitations with normal MS SQL backups (e.g. compatibility with older SQL databases etc.), we created our own export mechanic. An export can be up to 1GB and more. This is nothing to serious and far from “big data”, but...
01.06.2020 | 480 1 | Code-Inside Blog
6

Blazor for Office Add-ins: First look

Last week I did some research and tried to build a pretty basic Office Addin (within the “new” web based Addin model) with Blazor. Side note: Last year I blogged about how to build Office Add-ins with ASP.NET Core. Why Blazor? My daily work home is in the C# and .NET land, so it would be great to use Blazor for...
30.04.2020 | 625 2 | Code-Inside Blog
7

Escape enviroment variables in MSIEXEC parameters

Problem Customers can install our product on Windows with a standard MSI package. To automate the installation administrators can use MSIEXEC and MSI parameters to configure our client. A simple installation can look like this: msiexec /qb /i "OneOffixx.msi" ... CACHEFOLDER="D:/OneOffixx/" The “CACHEFOLDER”...
28.03.2020 | 482 1 | Code-Inside Blog
5

TLS/SSL probelems: 'Could not create SSLTLS secure channel'

Problem Last week I had some fun debugging a weird bug. Within our application one module makes HTTP requests to a 3rd party service and depending on the running Windows version this call worked or failed with: 'Could not create SSLTLS secure channel' I knew that older TLS/SSL versions are deprecated and that many...
01.03.2020 | 636 5 | Code-Inside Blog
9

Accessibility Insights: Spot accessibilities issues easily for Web Apps and Windows Apps

Accessibility Accessibility is a huge and important topic nowadays. Keep in mind that in some sectors (e.g. government, public service etc.) accessibility is a requirement by law (in Europe the European Standards EN 301 549). If you want to learn more about accessibility in general this might be handy: MDN Web Docs...
01.02.2020 | 578 4 | Code-Inside Blog
9

T-SQL Pagination

The problem This is pretty trivial: Let’s say you have blog with 1000 posts in your database, but you only want to show 10 entries “per page”. You need to find a way how to slice this dataset into smaller pieces. The solution In theory you could load everything from the database and filter the results “in memory”...
31.12.2019 | 912 21 | Code-Inside Blog
6

Did you know that you can build .NET Core apps with MSBuild.exe?

The problem We recently updated a bunch of our applications to .NET Core 3.0. Because of the compatibility changes to the “old framework” we try to move more and more projects to .NET Core, but some projects still target “.NET Framework 4.7.2”, but they should work “ok-ish” when used from .NET Core 3.0 applications...
01.12.2019 | 442 0 | 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...
13.10.2019 | 582 2 | Code-Inside Blog
7

Enforce Administrator mode for builded dotnet exe applications

The problem Let’s say you have a .exe application builded from Visual Studio and the application always needs to be run from an administrator account. Windows Vista introduced the “User Account Control” (UAC) and such applications are marked with a special “shield” icon like this: TL;DR-version: To build such an...
30.09.2019 | 379 1 | Code-Inside Blog
6

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

The problem Let’s say you have a ASP.NET Core application without the bundled ASP.NET Core runtime (e.g. to keep the download as small as possible) and you want to run your ASP.NET Core application on a Windows Server hosted by IIS. General approach The general approach is the following: Install the .NET Core...
01.09.2019 | 687 10 | Code-Inside Blog
5

SQL Server, Named Instances & the Windows Firewall

The problem “Cannot connect to sql\instance. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL...
01.08.2019 | 548 8 | Code-Inside Blog
7

Jint: Invoke Javascript from .NET

If you ever dreamed to use Javascript in your .NET application there is a simple way: Use Jint. Jint implements the ECMA 5.1 spec and can be use from any .NET implementation (Xamarin, .NET Framework, .NET Core). Just use the NuGet package and has no dependencies to other stuff - it’s a single .dll and you are done!...
01.07.2019 | 465 0 | Code-Inside Blog
7

Build Windows Server 2016 Docker Images under Windows Server 2019

Since the uprising of Docker on Windows we also invested some time into it and packages our OneOffixx 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...
01.06.2019 | 590 7 | Code-Inside Blog
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...
01.05.2019 | 605 4 | Code-Inside Blog
8

[Webcast] Softwarequalität Teil 1 - Einführung

Es ist mal wieder Webcast-Zeit - nach etlichen Anfragen in den letzten Tagen habe ich heute wieder mein Studio-Equipment aufgebaut und den Vortrag des .NET Day Franken als Webcast aufgezeichnet. Da auf der Konferenz schon die vorgegebenen 70 Minuten sehr knapp bemessen waren, habe ich das Ganze auf mehrere Folgen...
12.04.2019 | 421 1 | David Tielke
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...
01.04.2019 | 504 0 | Code-Inside Blog
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...
27.02.2019 | 1250 44 | Code-Inside Blog
12345...96
RSS-Feed für alle Fragen zum Thema .NET C# Java Javascript Exception
Leseliste

Interessante News gefunden, aber gerade keine Zeit? Klicke auf "Später lesen", um die News in deine Leseliste aufzunehmen.