# ASP.NET

Published articles for ASP.NET.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## CodeSOD: Extremely One Line

DevFeed: [CodeSOD: Extremely One Line](<https://devfeed.tech/articles/codesod-extremely-one-line-31464.md>)

Original publisher: [Read original article](<https://thedailywtf.com/articles/extremely-one-line>)

Author: Remy Porter

Published: 2026-09-16T06:30:00Z

Content type: opinion

Language: en

Sources: [The Daily WTF](<https://devfeed.tech/sources/the-daily-wtf.md>)

Topics: [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [Code](<https://devfeed.tech/topics/code.md>), [Visual Studio](<https://devfeed.tech/topics/visual-studio.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [browser](<https://devfeed.tech/topics/browser.md>), [HTTP](<https://devfeed.tech/topics/http.md>)

Tags: [asp-net](<https://devfeed.tech/tags/asp-net.md>), [browser](<https://devfeed.tech/tags/browser.md>), [cli](<https://devfeed.tech/tags/cli.md>), [code](<https://devfeed.tech/tags/code.md>), [codesod](<https://devfeed.tech/tags/codesod.md>), [http](<https://devfeed.tech/tags/http.md>), [studio](<https://devfeed.tech/tags/studio.md>)

### AI overview

This CodeSOD commentary examines an ancient ASP .Net application containing a function written on one line, Safari user-agent detection, and a mysterious "uplevel" value. It criticizes the confusing style and notes that the same pattern appears on multiple pages.

### Source excerpt

Autoformatting your code is a standard thing to do these days. And in those days past, if we're being honest. There's no excuse to not use some kind of autoformatter. Whether you configure your editor to do it or are a weirdo like me who runs a formatter from the CLI as a build step, you've got an easy way to format your code so it looks neat and readable. And some IDEs, like Visual Studio, are pretty insistent about doing this for you. Which makes today's code sample a bit more perplexing. This comes from an ancient ASP .Net application that Austin has the misfortune to work with: protected void Page_PreInit(object sender, EventArgs e){if (Request.ServerVariables["http_user_agent"].IndexOf("Safari", StringComparison.CurrentCultureIgnoreCase) != -1)Page.ClientTarget = "uplevel";} protected void Page_Load(object sender, EventArgs e) { Logic(); } Which function is Logic() called from? The fact that I'm asking probably is enough to get you to scroll over. The entire Page_PreInit function is on a single line, followed by the declaration of the Page_Load function. A confusing and annoying choice. The real bonus is that if the browser has "Safari" in its user agent, we set a field to a mysterious "uplevel" value. A mix of user agent sniffing, strings as enums/flags, and wonderfully unclear names. And yes, this particular pattern appears in more than one page in Austin's application. Someone thought this was not just a good idea, but good enough to do over and over again. [Advertisement] Picking up NuGet is easy. Getting good at it takes time. Download our guide to learn the best practice of NuGet for the Enterprise.

## How to add SSO to your B2B SaaS app with WorkOS AuthKit

DevFeed: [How to add SSO to your B2B SaaS app with WorkOS AuthKit](<https://devfeed.tech/articles/how-to-add-sso-to-your-b2b-saas-app-with-workos-authkit-15981.md>)

Original publisher: [Read original article](<https://workos.com/blog/add-sso-b2b-saas-authkit>)

Author: WorkOS

Published: 2026-09-07T00:00:00Z

Content type: tutorial

Language: en

Sources: [WorkOS Blog](<https://devfeed.tech/sources/workos-blog.md>)

Topics: [Single sign-on (SSO)](<https://devfeed.tech/topics/sso.md>), [Software as a service](<https://devfeed.tech/topics/saas.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>)

Tags: [asp-net](<https://devfeed.tech/tags/asp-net.md>), [asp-net-core](<https://devfeed.tech/tags/asp-net-core.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [b2b](<https://devfeed.tech/tags/b2b.md>), [claude](<https://devfeed.tech/tags/claude.md>), [cli](<https://devfeed.tech/tags/cli.md>), [codex](<https://devfeed.tech/tags/codex.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [cursor](<https://devfeed.tech/tags/cursor.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [saas](<https://devfeed.tech/tags/saas.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [sso](<https://devfeed.tech/tags/sso.md>)

### AI overview

A tutorial on adding SSO to a B2B SaaS application with WorkOS AuthKit. It explains that AuthKit handles SSO-specific SAML operations, while developers must design the organization model, configure who manages connections, account for existing users, and test failure cases.

### Source excerpt

Enabling SSO is a dashboard toggle. The real work is the organization model, self-service configuration, and the traps that surface after your first enterprise customer.

## Heroku Support for .NET 10 LTS: What Developers Need to Know

DevFeed: [Heroku Support for .NET 10 LTS: What Developers Need to Know](<https://devfeed.tech/articles/heroku-support-for-net-10-lts-what-developers-need-to-know-26498.md>)

Original publisher: [Read original article](<https://www.heroku.com/blog/support-for-dotnet-10-lts-what-developers-need-know/>)

Author: Rune Soerensen

Published: 2025-11-11T08:00:23Z

Content type: release

Language: en

Sources: [Heroku](<https://devfeed.tech/sources/heroku.md>)

Topics: [Heroku](<https://devfeed.tech/topics/heroku.md>), [.NET](<https://devfeed.tech/topics/net.md>), [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [migration](<https://devfeed.tech/topics/migration.md>), [releases](<https://devfeed.tech/topics/releases.md>)

Tags: [2025](<https://devfeed.tech/tags/2025.md>), [asp-net](<https://devfeed.tech/tags/asp-net.md>), [asp-net-core](<https://devfeed.tech/tags/asp-net-core.md>), [buildpacks](<https://devfeed.tech/tags/buildpacks.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [developers](<https://devfeed.tech/tags/developers.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [heroku](<https://devfeed.tech/tags/heroku.md>), [languages](<https://devfeed.tech/tags/languages.md>), [lts](<https://devfeed.tech/tags/lts.md>), [migration](<https://devfeed.tech/tags/migration.md>), [net](<https://devfeed.tech/tags/net.md>), [nextgen](<https://devfeed.tech/tags/nextgen.md>), [product-features](<https://devfeed.tech/tags/product-features.md>), [release](<https://devfeed.tech/tags/release.md>)

### AI overview

Heroku now supports building and running .NET 10 applications, including ASP.NET Core 10, with buildpack support for features such as file-based apps and solution files. .NET 10 is the new three-year Long Term Support release, while .NET 8 and .NET 9 are scheduled to reach end of support on November 10, 2026.

### Source excerpt

It's that time of year for .NET when we get a new major version and a bunch of exciting features. .NET Conf 2025 kicked off earlier today, bringing with it the release of .NET 10, as well as ASP.NET Core 10, C# 14, and F# 10. Congrats (and a big thank you) to the .NET [...] The post Heroku Support for .NET 10 LTS: What Developers Need to Know appeared first on Heroku.

## HTML Minifier: A 12-Year Journey Building and Maintaining an Open Source Tool

DevFeed: [HTML Minifier: A 12-Year Journey Building and Maintaining an Open Source Tool](<https://devfeed.tech/articles/html-minifier-a-12-year-journey-building-and-maintaining-an-open-source-tool-37542.md>)

Original publisher: [Read original article](<https://deanhume.com/html-minifier-a-12-year-journey-building-and-maintaining-an-open-source-tool/>)

Author: Dean Hume

Published: 2025-10-30T14:49:50Z

Content type: opinion

Language: en

Sources: [Dean Hume](<https://devfeed.tech/sources/dean-hume.md>)

Topics: [HTML](<https://devfeed.tech/topics/html.md>), [Web](<https://devfeed.tech/topics/web.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [Angular](<https://devfeed.tech/topics/angular.md>), [build tools](<https://devfeed.tech/topics/build-tools.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [asp-net](<https://devfeed.tech/tags/asp-net.md>), [build-tools](<https://devfeed.tech/tags/build-tools.md>), [html](<https://devfeed.tech/tags/html.md>), [journey](<https://devfeed.tech/tags/journey.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [performance](<https://devfeed.tech/tags/performance.md>), [web-performance](<https://devfeed.tech/tags/web-performance.md>)

### AI overview

The author reflects on developing and maintaining an open-source HTML Minifier over 12 years. The tool reduces HTML size by removing unnecessary whitespace, line breaks, and comments, and evolved with framework compatibility, recursive scanning, multi-file support, line-length controls, and performance metrics.

### Source excerpt

Discover the 12-year journey behind HTML Minifier an open source tool that helped developers optimize web performance and reduce page load times.

## .NET on Heroku: Now Generally Available

DevFeed: [.NET on Heroku: Now Generally Available](<https://devfeed.tech/articles/net-on-heroku-now-generally-available-26396.md>)

Original publisher: [Read original article](<https://www.heroku.com/blog/dotnet-now-generally-available/>)

Author: Rune Soerensen

Published: 2025-04-02T06:56:00Z

Content type: release

Language: en

Sources: [Heroku](<https://devfeed.tech/sources/heroku.md>)

Topics: [Heroku](<https://devfeed.tech/topics/heroku.md>), [.NET](<https://devfeed.tech/topics/net.md>), [cross-platform](<https://devfeed.tech/topics/cross-platform.md>), [ASP.NET Core](<https://devfeed.tech/topics/asp-net-core.md>)

Tags: [announce](<https://devfeed.tech/tags/announce.md>), [asp-net](<https://devfeed.tech/tags/asp-net.md>), [asp-net-core](<https://devfeed.tech/tags/asp-net-core.md>), [buildpacks](<https://devfeed.tech/tags/buildpacks.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [f-sharp](<https://devfeed.tech/tags/f-sharp.md>), [heroku](<https://devfeed.tech/tags/heroku.md>), [languages](<https://devfeed.tech/tags/languages.md>), [net](<https://devfeed.tech/tags/net.md>), [news](<https://devfeed.tech/tags/news.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

### AI overview

Heroku announces that .NET support, previously in beta, is now generally available. The release provides production support, documentation, support services, automatic build and deployment behavior, and support for C#, F#, Visual Basic, and ASP.NET Core applications.

### Source excerpt

It's never been a more exciting time to be a .NET developer. With .NET (formerly known as .NET Core) approaching its 10-year anniversary this November, the platform has evolved into a powerful, cross-platform ecosystem, embracing modern development practices and powering a vast array of applications. Today, we're thrilled to announce that .NET support on Heroku, [...] The post .NET on Heroku: Now Generally Available appeared first on Heroku.

## .NET Support on Heroku

DevFeed: [.NET Support on Heroku](<https://devfeed.tech/articles/net-support-on-heroku-26397.md>)

Original publisher: [Read original article](<https://www.heroku.com/blog/dotnet-support-on-heroku/>)

Author: Rune Soerensen

Published: 2024-12-03T00:00:00Z

Content type: release

Language: en

Sources: [Heroku](<https://devfeed.tech/sources/heroku.md>)

Topics: [Heroku](<https://devfeed.tech/topics/heroku.md>), [.NET](<https://devfeed.tech/topics/net.md>), [ASP.NET Core](<https://devfeed.tech/topics/asp-net-core.md>), [Blazor](<https://devfeed.tech/topics/blazor.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [F#](<https://devfeed.tech/topics/fsharp.md>), [Visual Basic](<https://devfeed.tech/topics/visual-basic.md>), [cross-platform](<https://devfeed.tech/topics/cross-platform.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Databases](<https://devfeed.tech/topics/databases.md>)

Tags: [announce](<https://devfeed.tech/tags/announce.md>), [apis](<https://devfeed.tech/tags/apis.md>), [app](<https://devfeed.tech/tags/app.md>), [asp-net](<https://devfeed.tech/tags/asp-net.md>), [asp-net-core](<https://devfeed.tech/tags/asp-net-core.md>), [blazor](<https://devfeed.tech/tags/blazor.md>), [buildpacks](<https://devfeed.tech/tags/buildpacks.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [can](<https://devfeed.tech/tags/can.md>), [community](<https://devfeed.tech/tags/community.md>), [core](<https://devfeed.tech/tags/core.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [developers](<https://devfeed.tech/tags/developers.md>), [f-sharp](<https://devfeed.tech/tags/f-sharp.md>), [heroku](<https://devfeed.tech/tags/heroku.md>), [high-performance](<https://devfeed.tech/tags/high-performance.md>), [languages](<https://devfeed.tech/tags/languages.md>), [maintainability](<https://devfeed.tech/tags/maintainability.md>), [net](<https://devfeed.tech/tags/net.md>), [news](<https://devfeed.tech/tags/news.md>), [nextgen](<https://devfeed.tech/tags/nextgen.md>), [platform](<https://devfeed.tech/tags/platform.md>)

### AI overview

Heroku announces that official .NET support is entering public beta. Developers can build and deploy C#, F#, and Visual Basic applications using frameworks including ASP.NET Core and Blazor. The support includes a buildpack, documentation, testing, and guidance for deploying applications, including Blazor apps with Heroku Postgres.

### Source excerpt

We're excited to announce that official support for .NET on Heroku is entering public beta starting today. Developers can now build and deploy applications in C#, F#, and Visual Basic, using frameworks like ASP.NET Core and Blazor, all with the simplicity and flexibility of the Heroku platform. .NET has long been one of the most [...] The post .NET Support on Heroku appeared first on Heroku.

## Updating to .NET 8, updating to IHostBuilder, and running Playwright Tests within NUnit headless or headed on any OS

DevFeed: [Updating to .NET 8, updating to IHostBuilder, and running Playwright Tests within NUnit headless or headed on any OS](<https://devfeed.tech/articles/updating-to-net-8-updating-to-ihostbuilder-and-running-playwright-tests-within-nunit-headless-or-headed-on-any-os-21858.md>)

Original publisher: [Read original article](<https://www.hanselman.com/blog/updating-to-net-8-updating-to-ihostbuilder-and-running-playwright-tests-within-nunit-headless-or-headed-on-any-os>)

Author: Scott Hanselman

Published: 2024-03-07T01:12:13Z

Content type: tutorial

Language: en

Sources: [Scott Hanselman](<https://devfeed.tech/sources/scott-hanselman.md>)

Topics: [Playwright](<https://devfeed.tech/topics/playwright.md>), [.NET](<https://devfeed.tech/topics/net.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [Browser Automation](<https://devfeed.tech/topics/browser-automation.md>), [Integration testing](<https://devfeed.tech/topics/integration-testing.md>), [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [Selenium](<https://devfeed.tech/topics/selenium.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>)

Tags: [asp-net](<https://devfeed.tech/tags/asp-net.md>), [automation-testing](<https://devfeed.tech/tags/automation-testing.md>), [browser](<https://devfeed.tech/tags/browser.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [debug](<https://devfeed.tech/tags/debug.md>), [devops](<https://devfeed.tech/tags/devops.md>), [dotnetcore](<https://devfeed.tech/tags/dotnetcore.md>), [integration](<https://devfeed.tech/tags/integration.md>), [linux](<https://devfeed.tech/tags/linux.md>), [net](<https://devfeed.tech/tags/net.md>), [playwright](<https://devfeed.tech/tags/playwright.md>), [selenium](<https://devfeed.tech/tags/selenium.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>), [unit-testing](<https://devfeed.tech/tags/unit-testing.md>), [visual-studio](<https://devfeed.tech/tags/visual-studio.md>), [vs-code](<https://devfeed.tech/tags/vs-code.md>), [web](<https://devfeed.tech/tags/web.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

A tutorial on updating a .NET application to .NET 8 and running Playwright browser tests through NUnit. It explains the transition from IWebHostBuilder to IHostBuilder and describes cross-platform, headless or headed testing across local systems, containers, and CI environments.

### Source excerpt

I've been doing not just Unit Testing for my sites but full on Integration Testing and Browser Automation Testing as early as 2007 with Selenium. Lately, however, I've been using the faster and generally more compatible Playwright. It has one API and can test on Windows, Linux, Mac, locally, in a container (headless), in my CI/CD pipeline, on Azure DevOps, or in GitHub Actions. For me, it's that last moment of truth to make sure that the site runs completely from end to end. I can write those Playwright tests in something like TypeScript, and I could launch them with node, but I like running end unit tests and using that test runner and test harness as my jumping off point for my .NET applications. I'm used to right clicking and "run unit tests" or even better, right click and "debug unit tests" in Visual Studio or VS Code. This gets me the benefit of all of the assertions of a full unit testing framework, and all the benefits of using something like Playwright to automate my browser. In 2018 I was using WebApplicationFactory and some tricky hacks to basically spin up ASP.NET within .NET (at the time) Core 2.1 within the unit tests and then launching Selenium. This was kind of janky and would require to manually start a separate process and manage its life cycle. However, I kept on with this hack for a number of years basically trying to get the Kestrel Web Server to spin up inside of my unit tests. I've recently upgraded my main site and podcast site to .NET 8. Keep in mind that I've been moving my websites forward from early early versions of .NET to the most recent versions. The blog is happily running on Linux in a container on .NET 8, but its original code started in 2002 on .NET 1.1. Now that I'm on .NET 8, I scandalously discovered (as my unit tests stopped working) that the rest of the world had moved from IWebHostBuilder to IHostBuilder five version of .NET ago. Gulp. Say what you will, but the backward compatibility is impressive. As such my code for Progr

## TeamCity C# API для сборки приложений

DevFeed: [TeamCity C# API для сборки приложений](<https://devfeed.tech/articles/teamcity-c-api-23952.md>)

Original publisher: [Read original article](<https://habr.com/ru/companies/JetBrains/articles/651247/>)

Author: NikolayPyanikov (JetBrains)

Published: 2022-02-15T09:21:35Z

Content type: tutorial

Language: ru

Sources: [JetBrains RU](<https://devfeed.tech/sources/jetbrains-ru.md>)

Topics: [teamcity](<https://devfeed.tech/topics/teamcity.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [.NET](<https://devfeed.tech/topics/net.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [DevOps](<https://devfeed.tech/topics/devops.md>), [Docker](<https://devfeed.tech/topics/docker.md>), [ASP.NET Core](<https://devfeed.tech/topics/asp-net-core.md>)

Tags: [asp-net](<https://devfeed.tech/tags/asp-net.md>), [asp-net-core](<https://devfeed.tech/tags/asp-net-core.md>), [build](<https://devfeed.tech/tags/build.md>), [build-system](<https://devfeed.tech/tags/build-system.md>), [build-tools](<https://devfeed.tech/tags/build-tools.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [cli](<https://devfeed.tech/tags/cli.md>), [core](<https://devfeed.tech/tags/core.md>), [devops](<https://devfeed.tech/tags/devops.md>), [docker](<https://devfeed.tech/tags/docker.md>), [net](<https://devfeed.tech/tags/net.md>), [script](<https://devfeed.tech/tags/script.md>), [teamcity](<https://devfeed.tech/tags/teamcity.md>)

### AI overview

This article presents the TeamCity C# scripting API for automating application builds. It describes integration with the .NET CLI, including process execution and detailed build, warning, error, and test information, as well as running processes in Docker containers and using ASP.NET Core-style composition and dependency injection. It also introduces packages for running, debugging, testing, and templating C# build scripts.

### Source excerpt

Начиная с первых версий .NET Core для сборки приложений, компания Microsoft предоставляет простой и удобный интерфейс командной строки (.NET CLI). Его возможности покрывают большинство потребностей по сборке, упаковке и тестированию приложений. Несмотря на это, по мере роста приложения, увеличения количества его составных частей/сборок/пакетов, усложнения процессов тестирования и развертывания, рядом с проектом часто появляются такие файлы сценариев как build.ps1, build.sh, build.cmd или даже полноценные инфраструктуры автоматизации построения приложений. В статье TeamCity C# script runner была предложена еще одна альтернатива - сценарии C#, которые особенно полезны, когда необходимо эффективно автоматизировать какой либо аспект сборки силами .NET разработчиков или DevOps, знакомыми с синтаксисом C#. Тогда же была упомянута идея расширить встроенный API сценариев для более глубокой интеграции с TeamCity и для поддержки наиболее частых вариантов использования. Предполагая, что API сценариев чаще всего будет задействован при сборке приложений, мы в первую очередь решили расширить именно его. В этой статье будут приведены примеры использования этого API. Читать далее

## The next CEO of Stack Overflow

DevFeed: [The next CEO of Stack Overflow](<https://devfeed.tech/articles/the-next-ceo-of-stack-overflow-37528.md>)

Original publisher: [Read original article](<https://www.joelonsoftware.com/2019/03/28/the-next-ceo-of-stack-overflow/>)

Author: Joel Spolsky

Published: 2019-03-28T14:00:53Z

Content type: news

Language: en

Sources: [Joel Spolsky](<https://devfeed.tech/sources/joel-spolsky.md>)

Topics: [Stack Overflow](<https://devfeed.tech/topics/stackoverflow.md>), [Microsoft](<https://devfeed.tech/topics/microsoft.md>), [Software as a service](<https://devfeed.tech/topics/saas.md>), [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [mvc](<https://devfeed.tech/topics/mvc.md>), [.NET](<https://devfeed.tech/topics/net.md>)

Tags: [advertising](<https://devfeed.tech/tags/advertising.md>), [asp-net](<https://devfeed.tech/tags/asp-net.md>), [browser](<https://devfeed.tech/tags/browser.md>), [ceo](<https://devfeed.tech/tags/ceo.md>), [co-founder](<https://devfeed.tech/tags/co-founder.md>), [employees](<https://devfeed.tech/tags/employees.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [mvc](<https://devfeed.tech/tags/mvc.md>), [net](<https://devfeed.tech/tags/net.md>), [news](<https://devfeed.tech/tags/news.md>), [revenue](<https://devfeed.tech/tags/revenue.md>), [saas](<https://devfeed.tech/tags/saas.md>), [software](<https://devfeed.tech/tags/software.md>), [stack-overflow](<https://devfeed.tech/tags/stack-overflow.md>)

### AI overview

Joel Spolsky announces that Stack Overflow is looking for a new CEO. He is stepping away from day-to-day operations to become chairman of the board, while describing the company's growth, profitability, products, employees, and audience.

### Source excerpt

We're looking for a new CEO for Stack Overflow. I'm stepping out of the day-to-day and up to the role of Chairman of the Board. Read more "The next CEO of Stack Overflow"

## Памятка начинающего программиста

DevFeed: [Памятка начинающего программиста](<https://devfeed.tech/articles/article-30403.md>)

Original publisher: [Read original article](<https://www.mdubakov.com/posts/rookie-programmer>)

Published: 2016-11-09T09:12:28Z

Content type: opinion

Language: ru

Sources: [Blog by Michael Dubakov](<https://devfeed.tech/sources/blog-by-michael-dubakov.md>)

Topics: [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [Domain-driven design (DDD)](<https://devfeed.tech/topics/domain-driven-design.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [ai-ml](<https://devfeed.tech/tags/ai-ml.md>), [asp-net](<https://devfeed.tech/tags/asp-net.md>), [ddd](<https://devfeed.tech/tags/ddd.md>)

### AI overview

A Russian-language advice article for programmers with a few years of experience. It recommends seeking responsibility early, following industry trends, learning English, blogging, studying broader software concepts, building personal projects, and avoiding prolonged outsourcing work.

### Source excerpt

Я часто получаю резюме от программистов. Возьму на себя смелость дать несколько конкретных советов тем, кто в профессии пару лет. Конечно, советы только для тех, кто хочет стать отличным программистом. 1. Первую работу найти непросто. Раньше было очень непросто, сейчас, конечно, все гораздо легче. Но если у вас получится, постарайтесь не попасть сразу в огромную корпорацию. В таких местах слишком много формализма, устаревших процессов и мест, где можно не напрягаться. И нет ничего хуже для новичка быть в расслабленной атмосфере на задворках аутсорса. Лучше выбрать стартап с маленькой зарплатой и большой неопределенностью, пока вы можете себе это позволить. Там у вас будет больше ответственности и развитие будет идти гораздо быстрее. Год за два :) 2. Всеми правдами и неправдами избегайте старых технологий. ASP.NET, O/R mappers, ExtJS, MSSQL, Oracle, Windows -- оставьте вот это все ветеранам. Вам может быть пока сложно понять, куда все двигается, но постарайтесь интересоваться трендами отрасли. Не все новое одинаково полезно, но со временем вы научитесь выбирать и лучше поймете, чего вы хотите и что вам интересно. 3. Учите английский. Вы как минимум должны научиться свободно читать техническую литературу. Без этого крайне сложно стать хорошим программистом. 4. Заведите блог. Вам кажется, что вам не о чем писать. Конечно же, это не так. Любое новое знание, усвоенное вами и выраженное письменно с учетом ваших личных переживаний и мыслей, может быть полезно другим. Напишите 100 постов. Потом можно решить, продолжать или нет. 5. Не зацикливайтесь на книгах о технологиях. Конечно, у вас есть явная потребность углубиться в ASP.NET на работе, но разбавляйте такие книги более абстрактной литературой. Почитайте про ООП и ФП, почитайте про дизайн систем, почитайте о разных концепциях (микросервисы, конкурентность, DDD, AI/ML). 6. Программируйте дома. Начните свой проект. Неважно какой. Простое мобильное приложение. Движок для сайта. Трекер расходов. Выбор следующего фильма для п

## Stack Overflow: The Architecture - 2016 Edition

DevFeed: [Stack Overflow: The Architecture - 2016 Edition](<https://devfeed.tech/articles/stack-overflow-the-architecture-2016-edition-21590.md>)

Original publisher: [Read original article](<https://nickcraver.com/blog/2016/02/17/stack-overflow-the-architecture-2016-edition/>)

Published: 2016-02-17T00:00:00Z

Content type: article

Language: en

Sources: [Nick Craver](<https://devfeed.tech/sources/nick-craver.md>)

Topics: [Stack Overflow](<https://devfeed.tech/topics/stackoverflow.md>), [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [Redis](<https://devfeed.tech/topics/redis.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>), [servers](<https://devfeed.tech/topics/servers.md>), [elasticsearch](<https://devfeed.tech/topics/elasticsearch.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [asp-net](<https://devfeed.tech/tags/asp-net.md>), [blog](<https://devfeed.tech/tags/blog.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [elasticsearch](<https://devfeed.tech/tags/elasticsearch.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [http](<https://devfeed.tech/tags/http.md>), [load-balancer](<https://devfeed.tech/tags/load-balancer.md>), [performance](<https://devfeed.tech/tags/performance.md>), [redis](<https://devfeed.tech/tags/redis.md>), [servers](<https://devfeed.tech/tags/servers.md>), [sql](<https://devfeed.tech/tags/sql.md>)

### AI overview

This article describes Stack Overflow's 2016 architecture using daily traffic and performance statistics from February 9, 2016, compared with November 2013. It covers HTTP requests, page loads, SQL queries, Redis hits, Elasticsearch searches, Tag Engine requests, and processing times. The author attributes reduced ASP.NET processing time to a 2015 hardware upgrade and application performance tuning, then lists the main server and load-balancer hardware.

### Source excerpt

This is #1 in a very long series of posts on Stack Overflow's architecture. Welcome. Previous post (#0): Stack Overflow: A Technical Deconstruction Next post (#2): Stack Overflow: The Hardware - 2016 Edition To get an idea of what all of this stuff "does," let me start off with an update on the average day at Stack Overflow. So you can compare to the previous numbers from November 2013, here's a day of statistics from February 9th, 2016 with differences since November 12th, 2013: 209,420,973 (+61,336,090) HTTP requests to our load balancer 66,294,789 (+30,199,477) of those were page loads 1,240,266,346,053 (+406,273,363,426) bytes (1.24 TB) of HTTP traffic sent 569,449,470,023 (+282,874,825,991) bytes (569 GB) total received 3,084,303,599,266 (+1,958,311,041,954) bytes (3.08 TB) total sent 504,816,843 (+170,244,740) SQL Queries (from HTTP requests alone) 5,831,683,114 (+5,418,818,063) Redis hits 17,158,874 (not tracked in 2013) Elastic searches 3,661,134 (+57,716) Tag Engine requests 607,073,066 (+48,848,481) ms (168 hours) spent running SQL queries 10,396,073 (-88,950,843) ms (2.8 hours) spent on Redis hits 147,018,571 (+14,634,512) ms (40.8 hours) spent on Tag Engine requests 1,609,944,301 (-1,118,232,744) ms (447 hours) spent processing in ASP.Net 22.71 (-5.29) ms average (19.12 ms in ASP.Net) for 49,180,275 question page renders 11.80 (-53.2) ms average (8.81 ms in ASP.Net) for 6,370,076 home page renders You may be wondering about the drastic ASP.Net reduction in processing time compared to 2013 (which was 757 hours) despite 61 million more requests a day. That's due to both a hardware upgrade in early 2015 as well as a lot of performance tuning inside the applications themselves. Please don't forget: performance is still a feature. If you're curious about more hardware specifics than I'm about to provide--fear not. The next post will be an appendix with detailed hardware specs for all of the servers that run the sites (I'll update this with a link when it's liv

## Publishing a ASP.NET 5 Web-Application to IIS Locally

DevFeed: [Publishing a ASP.NET 5 Web-Application to IIS Locally](<https://devfeed.tech/articles/publishing-a-asp-net-5-web-application-to-iis-locally-20709.md>)

Original publisher: [Read original article](<https://docs.microsoft.com/archive/blogs/abhinaba/publishing-a-asp-net-5-web-application-to-iis-locally>)

Author: Abhinaba Basu \[MSFT\]

Published: 2015-12-22T18:10:48Z

Content type: tutorial

Language: en

Sources: [Abhinaba Basu](<https://devfeed.tech/sources/abhinaba-basu.md>)

Topics: [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>), [Visual Studio](<https://devfeed.tech/topics/visual-studio.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [Firewall](<https://devfeed.tech/topics/firewall.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [asp-net](<https://devfeed.tech/tags/asp-net.md>), [firewall](<https://devfeed.tech/tags/firewall.md>), [visual-studio](<https://devfeed.tech/tags/visual-studio.md>), [web](<https://devfeed.tech/tags/web.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

A practical guide to publishing an ASP.NET 5 web application to IIS locally using Visual Studio and file system publishing, then configuring IIS to serve the application. It also explains enabling Windows Firewall access and finding the local IP address so other devices on the same network can connect.

### Source excerpt

I ran into few issues and discovered some kinks in publishing the new ASP.NET 5 Web-Application to...

## Understanding ASP.NET 5 and .NET Core

DevFeed: [Understanding ASP.NET 5 and .NET Core](<https://devfeed.tech/articles/understanding-asp-net-5-and-net-core-41570.md>)

Original publisher: [Read original article](<http://www.adamtuliper.com/2015/12/understanding-aspnet-5-and-net-core.html>)

Author: Adam Tuliper (noreply@blogger.com)

Published: 2015-12-16T21:20:00Z

Content type: tutorial

Language: en

Sources: [Adam Tuliper](<https://devfeed.tech/sources/adam-tuliper.md>)

Topics: [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [.NET](<https://devfeed.tech/topics/net.md>), [net core](<https://devfeed.tech/topics/net-core.md>), [cross-platform](<https://devfeed.tech/topics/cross-platform.md>), [mvc](<https://devfeed.tech/topics/mvc.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Dependency injection](<https://devfeed.tech/topics/dependency-injection.md>)

Tags: [asp-net](<https://devfeed.tech/tags/asp-net.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mvc](<https://devfeed.tech/tags/mvc.md>), [net](<https://devfeed.tech/tags/net.md>), [net-core](<https://devfeed.tech/tags/net-core.md>), [osx](<https://devfeed.tech/tags/osx.md>)

### AI overview

An overview of ASP.NET 5 and .NET Core, describing their modular design, cross-platform support, MVC-only architecture, unified controller model, built-in dependency injection, and self-hosting options.

### Source excerpt

**Update - New ASP.NET 5 video coming soon, follow me on Twitter to keep an eye on announcements ** Most of my enterprise career was web based. In around 1997 my first major web project was to create the sign-up 3.5" floppy disks that were distributed with a good amount of Bell Atlantic phone books. This used all sorts of c-based cgi, Python scripts, and a mish mosh of tech. Things were so very very different then. We were actually the very first all Windows NT Internet Service Provider in the country. Good times but was web tech surely in its infancy. When ASP (Active Server Pages) first came out, it was amazing - it so we thought at the time as we spaghetti coded away our scripts. Fast forward nearly 20 years to ASP.NET 5. A technology that shares only letters with its predecessor. It's unbelievably fast. It runs an entirely different model than any of its predecessors. It is cross platform - even running on Linux and OSX. This is indeed a new Microsoft. What is ASP.NET 5? ASP.NET 5 is a new version of ASP.NET that has been built from the ground up with performance in mind, it is modular, and supports multiple platforms such as Windows, OSX, and Linux. ASP.NET 5 no longer contains Web Forms, it is purely MVC based and supports both C# and VB.NET. This may be a difficult point for some. Going forward, there was a lot of baggage Web Forms carried around and it was an abstraction to the web, which isn't how most modern frameworks work. As such, MVC 6 is the only supported option in ASP.NET 5. You can however still create Web Forms apps in Visual Studio 2015 (for ex. on .NET 4.6), just not for ASP.NET 5. The WebAPI technology (that released back with MVC 4) has now been merged into a unified controller model in ASP.NET 5. ASP.NET 5 now has out of the box support for Dependency Injection without the need for any third party DI containers (although several major ones work with it if that's your use case), and performance that can meet or exceed NodeJS applications. Let'

## Introduction to Visual Studio Dev Essentials - Dev Tools and Services for Everyone

DevFeed: [Introduction to Visual Studio Dev Essentials - Dev Tools and Services for Everyone](<https://devfeed.tech/articles/introduction-to-visual-studio-dev-essentials-dev-tools-and-services-for-everyone-41569.md>)

Original publisher: [Read original article](<http://www.adamtuliper.com/2015/12/introduction-to-visual-studio-dev.html>)

Author: Adam Tuliper (noreply@blogger.com)

Published: 2015-12-02T18:45:00Z

Content type: article

Language: en

Sources: [Adam Tuliper](<https://devfeed.tech/sources/adam-tuliper.md>)

Topics: [dev-tools](<https://devfeed.tech/topics/dev-tools.md>), [Visual Studio](<https://devfeed.tech/topics/visual-studio.md>), [cross-platform](<https://devfeed.tech/topics/cross-platform.md>), [Visual Studio Code](<https://devfeed.tech/topics/visual-studio-code.md>), [Cordova](<https://devfeed.tech/topics/cordova.md>), [Software](<https://devfeed.tech/topics/software.md>)

Tags: [asp-net](<https://devfeed.tech/tags/asp-net.md>), [cordova](<https://devfeed.tech/tags/cordova.md>), [cross-platform](<https://devfeed.tech/tags/cross-platform.md>), [dev](<https://devfeed.tech/tags/dev.md>), [dev-tools](<https://devfeed.tech/tags/dev-tools.md>), [free-software](<https://devfeed.tech/tags/free-software.md>), [html](<https://devfeed.tech/tags/html.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [php](<https://devfeed.tech/tags/php.md>), [visual-studio](<https://devfeed.tech/tags/visual-studio.md>)

### AI overview

The article introduces Visual Studio Dev Essentials, a free program and portal offering development software, services, training, and support. It describes benefits for developers working with technologies including Apache Cordova, Node.js, Python, Android, web technologies, and Microsoft platforms.

### Source excerpt

TL;DR; Enroll here to get free stuff to dev on any platform for any type of developer - all from one portal At Microsoft, I work with a lot of developer types. Cross Platform developers, web developers, app developers, game developers, and more. One of the challenges I see is in just getting the various tools and services a developer needs to do a task. They are never in one place. Take Apache Cordova. It's an awesome tech for cross platform development but there's like 12 different installs to get a complete tool set. This extends across every developer type. Enter in Visual Studio Dev Essentials. Visual Studio Dev Essentials is a program and portal that gives you access to software, services, free training from industry leaders on virtually any tech, and priority support. Who can benefit? If you touch any of these techs, then yes - you. It's free. iOS Android Node.js Python Windows (Raspberry Pi, Phone, Desktop, Server, HoloLens, XBox, SurfaceHub, Laptop, Data) IoT (Internet of Things) Data Scientist - Machine Learning Web (HTML, JavaScript, PHP, ASP.NET, ie all of you web devs) Anyone doing cross platform development either writing native apps or Apache Cordova apps Free Software Visual Studio Community Edition Visual Studio Code Windows VM for Windows Universal Development for 60 days Parallels & Parallels Access - 90 day trial (only 14 on their site) PS - If you don't develop for Microsoft Tech, that's OK - read below for how this can help you on other tech. Our dev tools are some of the best on the planet for other tech too - like any web developer, Node.js, Python, Android, and cross platform development with Apache Cordova and Xamarin. Free Services Visual Studio Team Services for five users (exclusive) App Service Free Tier- Backend data and auth services for mobile and web (used by NBC, 3M and even used for the Super Bowl) HockeyApp Free Tier (Haven't heard of this? Cross platform beta/feedback/crash reporting - more below though!) Coming Soon - Azure $25

## How we build Targetprocess

DevFeed: [How we build Targetprocess](<https://devfeed.tech/articles/how-we-build-targetprocess-38422.md>)

Original publisher: [Read original article](<https://khmylov.com/2015/06/how-we-build-targetprocess/>)

Author: Andrew Khmylov

Published: 2015-06-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [Despite the odds](<https://devfeed.tech/sources/despite-the-odds.md>)

Topics: [Web Development](<https://devfeed.tech/topics/web-development.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Single-page application (SPA)](<https://devfeed.tech/topics/spa.md>), [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [Back end](<https://devfeed.tech/topics/backend.md>)

Tags: [asp-net](<https://devfeed.tech/tags/asp-net.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [client](<https://devfeed.tech/tags/client.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [routing](<https://devfeed.tech/tags/routing.md>)

### AI overview

A developer explains how Targetprocess is built as a large single-page web application, focusing on its JavaScript frontend, C# server APIs, and ASP.NET application startup. The article introduces authentication, authorization, routing, and ASPX-generated configuration.

### Source excerpt

Preface For the last 2 years my professional career have been diverging further and further away from the path it was set on early. I've started as a desktop application developer a long time ago, occasionally building web APIs on the server-side and doing some mobile app development, and then slowly getting into the frontend web development. Nowadays, working at Targetprocess, I think I'm spending roughly 70% of the time on the frontend (mostly general presentation logic and client-side business rules, not the crazy HTML markup/positioning/styling stuff) and 30% on server-side APIs. This is not a marketing post, but I'd like to give you some context on the things I'll be talking about. Targetprocess is an agile and visual project management tool [1], so you may expect it to be a fairly sophisticated on the visual interface side. Indeed, it's a massive single page web application written mostly in JavaScript on the client-side and C# on the server. At the same time, I see that some fellow developers still don't believe that it's possible to build anything beyond a simple product promotion website or a landing page with a toy language with JavaScript, which is only good for document animation. That's a common misconception I hear quite often from the friends doing mostly server-side and mobile things, and I'd like them (and any other reader) to see how the things look from my point of view. I also think that the details on how we build a large product may be interesting for anyone in the web development business. [2] With no further delay, let's dive right into the technical details! Application startup The entry point to the client app is a usual ASP.NET web application, which handles authentication, authorization and a top-level routing. Those things should be of no surprise for anyone familiar with building web applications with ASP.NET or any similar technology, so I won't go into details here. The authorized user is redirected to the main ASPX file. If you're no

## VSLive Chicago - Unity and WinJS

DevFeed: [VSLive Chicago - Unity and WinJS](<https://devfeed.tech/articles/vslive-chicago-unity-and-winjs-41564.md>)

Original publisher: [Read original article](<http://www.adamtuliper.com/2014/04/vslive-chicago-unity-and-winjs.html>)

Author: Adam Tuliper (noreply@blogger.com)

Published: 2014-04-15T21:02:00Z

Content type: news

Language: en

Sources: [Adam Tuliper](<https://devfeed.tech/sources/adam-tuliper.md>)

Topics: [Unity](<https://devfeed.tech/topics/unity.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [HTML](<https://devfeed.tech/topics/html.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [asp-net](<https://devfeed.tech/tags/asp-net.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [developer](<https://devfeed.tech/tags/developer.md>), [event](<https://devfeed.tech/tags/event.md>), [html](<https://devfeed.tech/tags/html.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [training](<https://devfeed.tech/tags/training.md>), [unity](<https://devfeed.tech/tags/unity.md>), [visual-studio](<https://devfeed.tech/tags/visual-studio.md>)

### AI overview

The author announces speaking sessions at Visual Studio Live! Chicago on developing 3D applications with Unity and C#/JavaScript, along with Windows 8 HTML/JavaScript apps for ASP.NET developers. The post also promotes event registration and a speaker discount.

### Source excerpt

I'll be speaking at Visual Studio Live!, May 5-8 in Chicago, IL http://bit.ly/CHSPK27_ Surrounded by your fellow industry professionals, Visual Studio Live! provides you with immediately usable training and education that will keep you relevant in the workforce. I'll be presenting the following sessions: Developing Awesome 3D Applications with Unity and C#/JavaScript Windows 8 HTML/JS Apps for the ASP.NET Developer SPECIAL OFFER: As a speaker, I can extend $400 savings on the 4-day package. Register here: http://bit.ly/CHSPK27_ Amplify your knowledge at Visual Studio Live! Chicago -- bring the issues that keep you up at night and prepare to leave this event with the answers, guidance and training you need. Register now: http://bit.ly/CHSPK27_Reg Hope to see you there!!! Adam

## Is there really no difference between a partial view and a regular view in MVC?

DevFeed: [Is there really no difference between a partial view and a regular view in MVC?](<https://devfeed.tech/articles/is-there-really-no-difference-between-a-partial-view-and-a-regular-view-in-mvc-41560.md>)

Original publisher: [Read original article](<http://www.adamtuliper.com/2014/01/is-there-really-no-difference-between.html>)

Author: Adam Tuliper (noreply@blogger.com)

Published: 2014-01-08T20:49:00Z

Content type: article

Language: en

Sources: [Adam Tuliper](<https://devfeed.tech/sources/adam-tuliper.md>)

Topics: [mvc](<https://devfeed.tech/topics/mvc.md>), [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [asp-net](<https://devfeed.tech/tags/asp-net.md>), [code](<https://devfeed.tech/tags/code.md>), [developers](<https://devfeed.tech/tags/developers.md>), [mvc](<https://devfeed.tech/tags/mvc.md>), [view](<https://devfeed.tech/tags/view.md>)

### AI overview

This article examines the differences between partial views and regular views in ASP.NET MVC. It explains that partial views do not process layouts or check _ViewStart files, may produce different exceptions, and follow a different view-processing pipeline.

### Source excerpt

The question I've read several posts on the net about there being no real difference between a partial view and a regular view in ASP.NET MVC, only that the convention of using them was different. Is this really the case? I decided to find out the details for myself as part of the new "MVC for Web Forms Developers" course I'm working on for pluralsight.com so I could see exactly what all this entailed outside of just being a convention difference. Let it be known, there is indeed several differences you should be aware of. This post isn't meant to state when you should use one vs the other, there are plenty of resources for that. Here we just want to delve into how they are different, which in turn can help you decide when to use a View vs PartialView (and to confuse things more the decision there is really View vs PartialView vs Html.Action vs Html.Partial vs Ajax in any combination) The differences The differences that were obvious from the code are Partial Views don't have a layout processed. Very important to know. Partial Views don't check for a _ViewStart.cshtml. Note this is typically where layouts are specified but technically you could specify one in your partial and it would be ignored. Very important to know. Partial Views can throw a slightly different exception, the details included to InvalidOperationException in PartialViewResult vs ViewResult classes. This is pretty minor. There is a slight difference in how they are processed. Lets look at the code, shall we? First, the differences between a PartialViewResult and a ViewResult as contained in the following files from the MVC source code: c:\source\aspnetwebstack\src\System.Web.Mvc\PartialViewResult.cs (link to source here) c:\source\aspnetwebstack\src\System.Web.Mvc\ViewResult.cs (link to source here) Lets dive into FindPartialView and FindView. These are the functions called when you "return View()" and "return Partial()" from inside a controller. The comparison of PartialViewResult and ViewResult F

## 'object' does not contain a definition for 'errors'

DevFeed: ['object' does not contain a definition for 'errors'](<https://devfeed.tech/articles/object-does-not-contain-a-definition-for-errors-21204.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2013/08/object-does-not-contain-definition/>)

Published: 2013-08-29T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Exception](<https://devfeed.tech/topics/exception.md>), [Testing](<https://devfeed.tech/topics/testing.md>), [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [Visual Studio](<https://devfeed.tech/topics/visual-studio.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [asp-net](<https://devfeed.tech/tags/asp-net.md>), [errors](<https://devfeed.tech/tags/errors.md>), [exception](<https://devfeed.tech/tags/exception.md>), [exceptions](<https://devfeed.tech/tags/exceptions.md>), [testing](<https://devfeed.tech/tags/testing.md>), [unit-test](<https://devfeed.tech/tags/unit-test.md>), [visual-studio](<https://devfeed.tech/tags/visual-studio.md>)

### AI overview

A unit test for an ASP.NET Web API exception filter fails when it tries to inspect the anonymous object returned for validation errors. The article explains that the anonymous type is not visible outside the tested Api assembly and shows that adding InternalsVisibleTo to Api.csproj makes the test pass.

### Source excerpt

Lorem ipsum dolor sit amet

## Retrospective 2012

DevFeed: [Retrospective 2012](<https://devfeed.tech/articles/retrospective-2012-21180.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2012/12/retrospective-2012/>)

Published: 2012-12-30T00:00:00Z

Content type: opinion

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Jekyll](<https://devfeed.tech/topics/jekyll.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [hosting](<https://devfeed.tech/topics/hosting.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Bootstrap](<https://devfeed.tech/topics/bootstrap.md>), [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [mvc](<https://devfeed.tech/topics/mvc.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Single-page application (SPA)](<https://devfeed.tech/topics/spa.md>)

Tags: [asp-net](<https://devfeed.tech/tags/asp-net.md>), [css](<https://devfeed.tech/tags/css.md>), [github](<https://devfeed.tech/tags/github.md>), [hosting](<https://devfeed.tech/tags/hosting.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [jekyll](<https://devfeed.tech/tags/jekyll.md>), [json](<https://devfeed.tech/tags/json.md>), [mvc](<https://devfeed.tech/tags/mvc.md>), [rest](<https://devfeed.tech/tags/rest.md>), [retrospective](<https://devfeed.tech/tags/retrospective.md>)

### AI overview

A personal retrospective of 2012 covering a move from Blogger to a Jekyll static site hosted on GitHub, a site redesign using Bootstrap, and increased JavaScript work. The author also describes replacing ASP.NET WebForms front ends with JavaScriptMVC applications and ASP.NET MVC JSON REST endpoints.

### Source excerpt

Lorem ipsum dolor sit amet

## Programming ASP.net MVC4 by J. Chadwick, T. Snyder and H. Panda

DevFeed: [Programming ASP.net MVC4 by J. Chadwick, T. Snyder and H. Panda](<https://devfeed.tech/articles/programming-asp-net-mvc4-by-j-chadwick-t-snyder-and-h-panda-21179.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2012/12/programming-aspnet-mvc4/>)

Published: 2012-12-13T00:00:00Z

Content type: opinion

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [mvc](<https://devfeed.tech/topics/mvc.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [jQuery](<https://devfeed.tech/topics/jquery.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>)

Tags: [asp-net](<https://devfeed.tech/tags/asp-net.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [caching](<https://devfeed.tech/tags/caching.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [mvc](<https://devfeed.tech/tags/mvc.md>), [routing](<https://devfeed.tech/tags/routing.md>), [techniques](<https://devfeed.tech/tags/techniques.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

A review of the book Programming ASP.net MVC4 describes its coverage of ASP.NET MVC development, from MVC fundamentals, routing, authentication, and application architecture to deployment, client-side JavaScript, mobile web development, and production practices. The review presents the book as suitable for both beginners and experienced developers.

### Source excerpt

Lorem ipsum dolor sit amet

## Output Caching in ASP.net MVC

DevFeed: [Output Caching in ASP.net MVC](<https://devfeed.tech/articles/output-caching-in-asp-net-mvc-21170.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2012/10/output-caching-in-aspnet-mvc/>)

Published: 2012-10-28T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [mvc](<https://devfeed.tech/topics/mvc.md>), [jQuery](<https://devfeed.tech/topics/jquery.md>)

Tags: [asp-net](<https://devfeed.tech/tags/asp-net.md>), [browser](<https://devfeed.tech/tags/browser.md>), [caching](<https://devfeed.tech/tags/caching.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [mvc](<https://devfeed.tech/tags/mvc.md>)

### AI overview

This tutorial explains output caching in ASP.NET MVC, including default response behavior, cache-control headers, ways to disable server and client caching, and the use of the OutputCache mechanism. It also discusses caching effects on AJAX requests.

### Source excerpt

Lorem ipsum dolor sit amet

## Lessons Learned: Don't Expose EF Entities to the Client Directly

DevFeed: [Lessons Learned: Don't Expose EF Entities to the Client Directly](<https://devfeed.tech/articles/lessons-learned-don-t-expose-ef-entities-to-the-client-directly-21169.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2012/10/lessions-learned-dont-expose-ef-entities-to-the-client-directly/>)

Published: 2012-10-23T00:00:00Z

Content type: opinion

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [mvc](<https://devfeed.tech/topics/mvc.md>), [API](<https://devfeed.tech/topics/api.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [asp-net](<https://devfeed.tech/tags/asp-net.md>), [backend](<https://devfeed.tech/tags/backend.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [json](<https://devfeed.tech/tags/json.md>), [mvc](<https://devfeed.tech/tags/mvc.md>), [rest](<https://devfeed.tech/tags/rest.md>)

### AI overview

The article examines the risks of directly exposing Entity Framework entities through an ASP.NET MVC REST backend to a rich-client JavaScript application. It highlights oversized JSON responses caused by entity relationships and warns that exposing entities couples the client to backend implementation details.

### Source excerpt

Lorem ipsum dolor sit amet

## Strange Error When Downloading File in IE8 from SSL Site

DevFeed: [Strange Error When Downloading File in IE8 from SSL Site](<https://devfeed.tech/articles/strange-error-when-downloading-file-in-ie8-from-ssl-site-21162.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2012/07/strange-error-when-downloading-file-in/>)

Published: 2012-07-15T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [Internet Explorer](<https://devfeed.tech/topics/internet-explorer.md>), [SSL](<https://devfeed.tech/topics/ssl.md>), [mvc](<https://devfeed.tech/topics/mvc.md>), [browser](<https://devfeed.tech/topics/browser.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [asp-net](<https://devfeed.tech/tags/asp-net.md>), [browser](<https://devfeed.tech/tags/browser.md>), [caching](<https://devfeed.tech/tags/caching.md>), [firefox](<https://devfeed.tech/tags/firefox.md>), [internet-explorer](<https://devfeed.tech/tags/internet-explorer.md>), [mvc](<https://devfeed.tech/tags/mvc.md>), [ssl](<https://devfeed.tech/tags/ssl.md>)

### AI overview

A troubleshooting article explains that IE8 fails to download files generated by an ASP.NET MVC backend from an SSL-protected site when cache-control headers prevent caching. It proposes overriding the default output-cache behavior for file downloads in IE versions below 9.

### Source excerpt

Lorem ipsum dolor sit amet

## Why I hate generated code

DevFeed: [Why I hate generated code](<https://devfeed.tech/articles/why-i-hate-generated-code-33384.md>)

Original publisher: [Read original article](<https://timkellogg.me/blog/2011/12/26/why-i-hate-generated-code>)

Published: 2011-12-26T00:00:00Z

Content type: opinion

Language: en

Sources: [Tim Kellogg](<https://devfeed.tech/sources/tim-kellogg.md>)

Topics: [Code generation](<https://devfeed.tech/topics/code-generation.md>), [maintenance](<https://devfeed.tech/topics/maintenance.md>), [Rails](<https://devfeed.tech/topics/rails.md>), [ASP.NET](<https://devfeed.tech/topics/aspnet.md>), [mvc](<https://devfeed.tech/topics/mvc.md>), [SQL](<https://devfeed.tech/topics/sql.md>)

Tags: [asp-net](<https://devfeed.tech/tags/asp-net.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [maintenance](<https://devfeed.tech/tags/maintenance.md>), [mvc](<https://devfeed.tech/tags/mvc.md>), [rails](<https://devfeed.tech/tags/rails.md>), [software](<https://devfeed.tech/tags/software.md>)

### AI overview

The author argues that generated source code can create maintenance problems when it produces large amounts of unused or dead code. The article distinguishes this from compiler output and just-in-time code generation, which the author considers useful because it is generated only when needed.

### Source excerpt

If you've worked with me for any amount of time you'll soon figure out that I often profess that "I hate generated code". This position comes from years of experience with badly generated code. Let me explain.The baby comes with a lot of bathwaterIn the past year I had an experience with a generated data layer where CodeSmith was used to generate a table, 5 stored procedures, an entity class, a data source class, and a factory class for each entity that was generated. My task was to convert this code into NHibernate mappings.The interesting thing about this work is how little of the generated code was actually being used. I'm sure, in the beginning, the developer's thoughts were along the lines "oh look at all this code I don't have to write manually :D". However, after some time, subsequent developer's thoughts were along the lines of "with all this dead code, it's hard to find real problems". It's funny how some exciting breakthroughs turn into headaches down the road. The table is always used, but some entities are created & read but never modified, others are only created during migrations and only read from during run time.Code generators often produce code you don't need. Since all code requires maintenance, dead code is just a liability because it doesn't provide any benefit. I always delete dead code and commented out code (it'll live on in version control, no need to release it into production).There are several professional developer communities that generate code as a way of life. Ruby on Rails comes prepackaged with scripts to generate models, views, and controllers in a single command. ASP.NET MVC will generate controllers and views with a couple clicks. And if you've ever used either of these frameworks, you'll probably find yourself deleting a lot of generated code.The problem of transient code generationThe issue that I keep running into with my policy of hating code generation is that it's nearly impossible to be a professional software engineer and

[Next page](<https://devfeed.tech/tags/asp-net.md?cursor=WyIyMDExLTEyLTI2VDAwOjAwOjAwKzAwOjAwIiwgIjRiYjUxY2IyLTBlNDktNDI1Ni05ODFiLTVhY2UzYTdiYTdlYSJd>)