Content
Unable to Delete document using One drive API in C#
I am unable to delete a document by using one drive API in ASP.Net(c#) if the document is open. How to check the document is already open by using one drive API. Please help.


Auth cookie is deleted by the browser when it closes
I have a strange problem. When I close my browser (whether Chrome or MS Edge), my authentication cookie is deleted. Consequently, the next time I start the browser, I have to log in again. My controller looks like this: ClaimsIdentity claimsIdentity =…


iText7 PDF generation help needed
Hello friends, In my Blazor Server application, I am generating a PDF like this. But requirements changed, I need to insert a table and logo like this sample. How can I manage it? InkedScreenshot 2023-01-31 at 19-47-25 Purchase Order -…
How to find pc is hacked or not
i nee to know my pc is haced or not


how to fix AutoFixture.ObjectCreationExceptionWithPath: AutoFixture was unable to create an instance from AutoMapper.IMapper
i have below code for xunit testing in asp .net core using AutoFixture.Xunit2;using AutoMapper;using FluentAssertions;using Moq;using MyRBV.AppService.Cars;using MyRBV.AppService.Contract.Cars;using MyRBV.DomainService.Cruds;using…


How to convert existing solution to use Shell
I have a solution that does not use Shell. I would like to change it so that it uses shell. I created a new solution and copied the AppShell.xaml and .cs. I changed the namespace to the correct namespace. I then changed the app.xaml.cs to: …


BackgroundService Serilog how to email?
Hi, In my background service, I would like to send error logs. Although there is an error, the email sink does not work. The error is being written to the file and mssqlserver successfully. Can you please share your experiences? Here is the…


I'm getting code first approach validation error can you help me
I add error massege and I update database with (datanase-update -Force).but not working error massege. why ?


Using Xamarin framework for coding in C#
I have completely mortgaged off my new Mac Mini 2020 with M1 chip implanted. Now that I have done that, and that I have an iPhone and Android mobile OS installed tablets - namely, a Samsung tablet brand, I want to learn quickly to code using their…
What is projectname.iOS file which is huge in size created using Xamarin ios shown inside payload
When we create IPA in Xamarin using visula studio and we check the contents of the IPA using below method. Create IPA. Change the extension of IPA from .ipa to .zip Payload folder will get created In the Payload folder Projectname.iOS file will be…


Get an ILogger instance for App Insights from ServiceCollection in a WebForms .NET Framework application
We want to get an ILogger instance so that it can be passed to other library. We tried below, but the ILogger instance does not log into Application Insights. It logs into Event Viewer successfully. We have added the necessary packages i.e.…


Is it possible to implement the custom security to the SSRS 2019?
Please share the code, if we can implement the custom security to the SSRS 2019


Why I can't Fake-Mock "System" in .net core 6.0(VS Enterprise 2022)
Why I can't Fake-Mock "System" in .net core 6.0(VS Enterprise 2022), I don't know what happened? I was trying to use "using System.Fakes; " , But it alert "missing an assemly reference" after following …


iOS application getting crashed "Could not set up parent class, due to: Invalid generic instantiation"
In a .Net MAUI project app is getting crashed when I am deploying it on device. below is the exception I am getting Any idea why this is happening always?


Ajax server method call not working.
I am using this code to call the server side method using Ajax. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script> <script…


Entity Framework 框架问题
dbcontext不同的实例,savechanges被互相影响怎么回事


Encrypt password at client side
I am using SHA256 encryption technique to encrypt / decrypt password. But that Encrypt method is server side so while POST the password travels without getting encrypted. Is there a way I can encrypt it at client side using Ajax $.ajax ?


"Güncelle" button not working
ı dont undestand. Delete's working but update(Güncelle) not working. Where's my mistake ?


LINQ query to validate the selected day is not in a list of other dates
Hi , I want to validate a selected date that does not fall in a list of dates from other table. Basically when user selects a date from calendar,i need to validate that date is not in list of dates fetched from a table. How can i acheive this via LINQ…


.net upgrade assistant added net7.0-windows for asp.net MVC webapplication during migration
When I used .net upgrade assistant tool convert my webapplication with asp.net MVC with .cshtml views of .net framework 4.8 to migrate to .net 7 then the tool included .net 7-windows as the target framework. this is the same case for projects of type…