Tag - ASP.NET

Things You Should Know About .NET 5

According to a Microsoft official blog post,.NET 5.0 is the next big thing and the successor to the.NET Core 3.1 release. Microsoft announced in the second week of November 2020 that.NET 5 contains new enhancements, upgrades, and features over.NET Core 3.1. Check out our prior blog pieces if you're unfamiliar with the.NET framework. It...

We’re Hiring – Senior .NET Developer

JOB DESCRIPTION: Responsible for development, support, maintenance and implementation of a complex project module. You should have good experience in application of standard software development principles. Be able to work as an independent team member, capable of applying judgment to plan and execute your tasks. Be able to respond to technical queries / requests from...

Getting Started with Blazor

JavaScript frameworks are widely used in the development of web applications. Instead of using JavaScript frameworks, Microsoft released Blazor (Vue, Angular, React etc.). In this article, we'll learn more about Blazor. What is Blazor? Blazor is a new open-source and cross-platform framework developed by Microsoft's ASP.NET team for building interactive client-side UI. It was first released...

Subdomain Mapping in ASP.NET Boilerplate

In AbpTenants table in the database. You can add your custom properties to Tenant class.AbpTenant class defines some basic properties, the most important properties are: TenancyName: This is a unique name of a tenant in the application. It should not be changed normally. It can be used to allocate subdomains to tenants like 'mytenant.mydomain.com'. Tenant.TenancyNameRegex constant defines the...

How to use Active Directory Membership Provider in ASP.NET

The ASP.NET membership feature provides secure credential storage for application users. We will use The following: Web page named Login.aspx and another web page named CreateUser.aspxLogin Control.Create User Wizard Control. Steps: 1- Configure Forms Authentication in Web.config file. To configure forms authentication, set the <authentication> element's mode attribute to "Forms" and then configure your application's Web.config file as shown...

How to use SQL Membership Provider in ASP.NET

The ASP.NET membership feature provides secure credential storage for application users. We will use the following: Web Page Named Login.aspx and another Web Page named CreateUser.aspxLogin Control.Create User Wizard Control. Steps: 1- Configure Forms Authentication in Web.config File To configure forms authentication, set the <authentication> element's mode attribute to "Forms" and then configure your application's Web.config file as shown...

How to allow paging in Repeater control in ASP.NET

I'll show you how to make a repeater that allow paging, also I'll make it as a web user control so anyone can just use it right away. Steps: 1- Create a web user control using C# and rename it to RepeaterPager. 2- Add four buttons and one label:Control Name Text Button btnNext >Button btnPrevious <Button btnLastRecord >>Button...

Custom validator scrolls page to the top in ASP.NET

If we add a ValidationSummary control to the page, its ValidationSummaryOnSubmit function invokes “window.scrollTo(0,0)” when page is invalid. That’s why the page scrolls to the top. To workaround this issue, we can assign a function to window.scrollTo which do nothing, so that window.scrollTo(0,0) will not take effect. This workaround is appropriate for the pages which...

How to pass authentication between two ASP.NET applications

If you have two web applications and every application hosted in a separated server, also every web application has login page, so how we can save our credentials once we logged in first web application and if we want to go to the second application without the second application request my authentication again. There are...

Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack ASP.NET

While I was debugging an ASP.NET Application, I wanted to get an object values I got this error message instead: "Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack" This problem occurs when using Response.Redirect or Server.Transfer method, because the Response.End method ends the page execution...