Graph API not working - Get StaffMembers
Hi Team,. With below code i was getting results till yesterday , now same code is giving below error. Is there any issue at Graph API end. Please help in this regard. Thanks in advance, Sravan kumar
How do I trigger a POPUP with onClick Sumbit button ?
Kindly assist with the Information Popup to give user feedback after the Submit button is Clicked. My Code @model ProgressSamples.MusicGenre @{ ViewBag.Title = "Font Awesome Spinner"; } <!-- Styles for Wait Messages…
Embed SSRS rdl Reports to an existing ASP.NET application
I have a project scenario that requires embedding SSRS rdl Reports to an existing ASP.NET Core application. I have made some research prior to posting here and I came across a library called ReportViewer, was able to get some results but only showed one…
Asp.net core - Field cant be empty
Hello I can't leave the field empty in asp.net core razor pages I created KRUD Pages using this model public class NewsModel { [Key] public int id { get; set; } public string title { get; set; } …
I am having troubles when I retrive data from Soap with C# ASP.NET
Hi guys, wish you well, I am sending from the controller an IdCostumer to the Soap Client and what I expect is to receive information of that costumer (If i send Idcostumer = 1, the soap brings me name, lastname, age, etc). For this I am creating a…
Can the Shell32.dll be used in the IIS environment?
I have a console exe program that used shell32.dll (compiled in dotnetCore 5). It works. However, when I used it in IIS environment (called it from CONTROLLERS) and it doesn't work. I wonder that is a restriction especially for the shell32.dll? If…
Set asp-route-id dynamically
Hi I have 2 asp-route-id values as below: <a class="btn btn-block btn-primary" asp-controller="Sales" asp-action="Data" asp-route-sales_pid="0" asp-route-users_pid="users_pid">New</a> the…
Need to fix my Ajax call to upload file and post to Controller
I have some javascript that calls window.showOpenFilePicker, and gets the file opject. That much works quite well with FormData. However, when I call ajax to post to my controller, when I debug the action entry point Upload(IFormFile file), the…
Question about Drag & Drop with multiple images
(I'm a beginner with Javascript) Im almost done with an MVC Core web app for a typical online store, where each product has 10 thumbnail images for viewing. An admin can add product by filling out a typical MVC form with description and product name,…
Microsoft Identity Platform Sign In not prompting with Stay Signed In and/or not using cookie to sign in?
Hi. I am upgrading my MVC .Net code to the new Microsoft Identity Platform sign in/sign out. The sign in and sign out works, but there is no prompt for "Stay signed in?" - even though it is set up in Azure Active Directory under company…
Object reference not set to an instance of an object
I am creating an application, from my database I create most of the models, except one, Captura, that model contains the attributes of 3 models, inside the captura controller I defined in the index method the query to obtain the content of the tables…
Classic ASP Conversion to .Net Core Framework
Hello Team, I am working on migrating one application for one of our customer from Classic ASP to .Net Core Framework. We have 700+ ASP pages and it is a significant effort if we do this conversion manually. I need your help to understand if their…
Unit test uses shared database
I've implemented unit tests in my app, when I run my test individually all pass but when I run them individually I get some fail. here is how I create InMemory db. public static DbContextOptionsBuilder<T> GetDbContextOptionsBuilder<T>(…
Regular Expressions RegEX - Using wildcard for route pattern for phones
I am trying to figure out how to input the expression for using q/Q for a wildcard. Ex; 58596q5555 Ex; 58596Q5555 When using q [0-4] Q [5-9] I need to be able to wildcard using letters to include multiple route patterns.
ASP.NET: Imports System.Security.Cryptography is not working
I'm working in a project where i need to use the Imports System.Security.Cryptography , however, whenever I log in into the system it gives me this error: System.NullReferenceException: 'Object reference not set to an instance of an object.' …
Scaffolding using terminal dosen't work
I was following the ASP.NET Core MVC tutorial from adding-model but when I run the command dotnet aspnet-codegenerator controller -name MoviesController -m Movie -dc MvcMovieContext --relativeFolderPath Controllers --useDefaultLayout…
Group and Sum multiple columns with a calculation Linq
Hi All, I feel that what I am doing with my code here is really bad practice, or at least it feels that way. I am working on a project which will be calculating peoples salary on a weekly basis, based on hours worked they will be paid overtime etc...…
How to implement ASP MVC NetCore 3.1 Websocket on Linux CentOS 7?
How to implement ASP MVC NetCore 3.1 Websocket on Linux CentOS 7? Below is my httpd.conf, it works properly with the web app that's why I commented for the "/ws", but if I uncomment the "/ws" then I can't access the web, if I…
Azure Verified Credentials Preview setup error
Hi team, i am testing Verifiable Credentials Preview feature in My tenant through the mentioned links and i am following all the prerequisites from the mentioned link and followed all the instructions. …
ASP.Net Core Site Stops Sending Emails Citing Mysterious SSL Issue
What might suddenly make it impossible for a .Net 5 website to stop sending email citing the following: An unhandled exception occurred while processing the request. InvalidOperationException: An error occurred while attempting to establish an SSL or…