Convert aspx file
I am looking for a solution to convert this code below. To have better readability of the text. File .aspx : <mso:PublishingPageContent msdt:dt="string"><strong>Lier votre n° de mobile à votre espace…
Getting error "Provider must implement the class 'System.Web.SessionState.SessionStateStoreProviderBase'." while configuring the Redis server to web config in windows server.
Hi , I have downloaded the REDIS server msi "Redis-x64-5.0.10.msi" from this link "https://github.com/tporadowski/redis/releases" and after installing the REDIS server , now trying to configuring the redis server for session state…
Runtime error
error: 50 - Local Database Runtime error occurred. Cannot create an automatic instance. I am getting this type of eror.Can you suggest any solution?
Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.Configuration' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
Server Error in '/' Application. Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.Configuration' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from…
set variable of partial class
I have a generated clas (with soapui) I need to pas data to a class order This class has partial classes The code : This is what i try and th error i get .... Dim orders(1) As dpd_label.order orders(1) =…
Sending ajax post to mcv action
Hello I am developing an Asp.net Core Mvc application in which I need to send , as usual, some data from an ajax call to an MVC action. The ajax code is as follows : **function ShowHideAttivita(model, idriga) { var dati =model; var idcommessa =…
Change MVC 4 site from Federated Identity to OpenID Connect
I am working with an existing MVC 4 website hosted internally that currently uses Federated Identity with a custom login page. My task is to change the website to use OpenID Connect to connect to an external provider to authenticate the user and return a…
Configuration system failed to initialize ---> System.NullReferenceException: Object reference not set to an instance of an object.
After months running without any issues/without any changes to the application/server, one of our ASP.NET (MVC/.NET Framework 4.x) applications failed with "Configuration system failed to initialize" every time that access to the configuration…
Is API support available to import certificate from keyvault to Azure web app?
I am working in .NET and I have met a requirement where I need to import certificate from keyvault to azure web app. I have found the solution in azure cli but couldn't find anything for API, which I can use in .NET. Using powershell: az webapp…
How to acces asp.net application outside vm
Greetings, I have designed asp.net application using vs-2017 ( its vm machine ) Problem : if I write it on Host " http://vmpc-12//localhost:55283/Default.aspx" it asks for credential but does not show anything after taking credentials (…
Caching Web Method Response by Request ID
I developed a SOAP-based web service. I wish to log every request. I also wish to cache its response by its request ID, which is distinctly unique. Should the request be repeated within the hour, I want it to return the cached response. My…
SSRS Url Access in Asp.Net MVC
Hello I am trying to view a report in my report server via url access and I am trying to follow the guide linked below …
Issue copying Asp.net VS projects to Sharepoint online
I am in the process of moving some web apps done in VS from a shared drive to sharepoint online. When I copy the files to SP Online, it is auto changing some of the aspx files which is causing issues building and running the apps. In addition, the…
VSTO Addin Code Signing | Security Question
Hello, I would like to use the best security coding practices in a VSTO Addin project I am implementing for Microsoft Outlook application and I have a question regarding code signing. Following the creation of a code signing certificate (.pfx),…
C# regex that should start with alpha numeric but not with space
Hi , I am trying for regex that should take only AlphaNumeric as first character but when i go with [A-za-z0-9], it is also taking white space as valid, how to avoid space as first character in regex C#. please help. below are some valid and…
how to check if the tab is closed in asp.net
i want know who connected/disconnected to my web app i created a table in database that update if a user connected but i'am stuck in if is closed tab i want update it to disconnected please help
Update panel is not working by CSP
Update panel is not working if content security policy is self. This is in asp.net classic please suggest. Note:I am not prefer to put unsafe-inline or unsafe-eval
Check Access to Azure Services from Azure VM
How do I check to see if access to Azure services, such as a storage containers or a storage queue, is allowed or blocked from a VM on Azure? I need to make sure that an app running in a VM is allowed access to a particular service i.e. storage queue…
how i get the column header text when clicked in gridview in asp.net
Hi members how i get the column header text when clicked in gridview please help
How to preview a local RDLC report on web from reportviewer?
VS 2019 SQL2014 local server VB code I want to use reportviewer to show a RDLC report on web page, but I don't know how to set up. Any example for this? Outstanding.rdlc is main report , Planinfo.rdlc & PLinfo.rdlc &…