I previously had the entity as in the 2nd case, unfortunately I removed it, and now when I am trying to create with same name again, whether EF has cached it I don't know, but EF is not recognizing it, can somebody please help me in this, does EF cache the already created Entities with same names, how can we clean it?
Its not allowing me to create the same Entity again even after deleting the Entity and trying regenerate again.
Or at least can I rename already existing Entity and its columns, how can I do it any help please?
Change your username, or be kicked off the site.
That is unacceptable in a professional environment.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
I am building desktop application with VB.NET. Have following query
1. Settings Form contains 2 sections
2. first section contains text boxes to enter data
3. Have button, popup window will open on clicking the same. User enter some data in popup window and click save. Want to display popup window data in settings form - datagridview. Please note still data is not saved to database.
4. Once user clicks 'Save' button of Settings window then all data of text boxes and datagridview is stored in database.
However, when user reopens this Settings form, I want data should be populated from database to text boxes and datagridview. Post this, want to display popup window data if user adds any new data.
We are working on a project, where there are 2 different web applications are used by the same user. Hence we need Single Signon (SSO), so that when a user is logged in one application opens the second application, it should not ask for relogin, if the user have permissions.
Our web application is on .net core 3.1
We had implemented SSO using identity 4. we had refereed a sample application (.net core 2.0 and identity 4 server 2.0) and implemented the same.
1. Even if a user have permissions for both the applications and logged in to 1 application, when he tries to open the 2nd application, it asks to signin again(ie, it is not authorized)
2. For admin user, which have all the permission, it fails to open the application due to cookie memory issue.
We have tried to upgrade the identity 4 server to the latest (4.1), but it through run time error.
I am building desktop application using .net framework. Front end will be deployed in client PC and database will be kept in LAN server. In this case which is best database to be used.
Since I am new to client-server implementation how to make sure connection string while installing front end in client PC and is there any instance of database needs to installed before establishing connectivity. I don't want to too much dependencies while installation since client is startup company and not able to invest on licence databases.
You could use SQL Server Express, or google for free\open source database solutions, but using SQL Express would make it easier to go to proper SQL Server when they can afford it. However I would strongly question any company, start-up or not, that can't afford to properly license software and I'd also be wary working for such a company.
I see some articles on migrating away from .NET remoting, but so far I haven't found anything that flat out says I shouldn't use it for new projects.
Does anyone know the state of the world regarding .NET remoting in say... DNF 4.72?
I have no requirements to support Core because my project involves a window service that does interprocess communication. I want to use .NET remoting for that. It's not internet facing, it's purely for IPC.
.NET Remoting was identified as a problematic architecture. It's used for cross-AppDomain communication, which is no longer supported. Also, Remoting requires runtime support, which is expensive to maintain. For these reasons, .NET Remoting isn't supported on .NET Core, and we don't plan on adding support for it in the future.
It looks like Remoting won't be ported to .NET 5 either.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
I'm implementing asp.net core 3.1 project. In my controller I have a linq query like the following and without defining inprocessapicount and pendingcount which claculates counts of related amounts, it works fine but after adding them to my query in select part, applicants returns null. I appreciate if anyone suggests me a solution.
Query's too "complicated" for anyone to bother with. Need to break it down with intermediate queries and results that you can "debug". "Big" queries are a sign of laziness; not sophistication. LINQ is no smarter than the person wielding it.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
I think I finally understand OAuth/OIDC/IdentityServer/IdMgr/IUA/ASP.NET Identity well enough to recognize the answer to my question.
Can anyone point me at a full featured end user self registration example/add-on for IdentityServer 3 or 4?
I'm aware of the admin UI ad-ons. I'm looking for an end-user oriented features that allows end-users to register themselves, including contact info and administer their contact info once registered.
I'd like functionality similar to Individual User Accounts in MVC projects. I'd also like the functionality, including UI, to reside on the STS and integrate with the STS OIDC authorization functionality.
A user registration add-on for IdentityServer 3 or 4 would make my day.
Or, is it true that comprehensive turn-key user registration for IdentityServer does not exist?
I have reviewed and ran the IdSvr3 AspNetIdentity integration samples. If end user self registration is there I don't see it.
I have seen a few examples that showed how to add a user registration page to identity server but they seemed more like a hack than comprehensive user self registration/contact info admin feature, ALA MVC Individual User Accounts.
Using IdentityServer4 hosted in a .NET Core web app as the STS is an option I've explored. I didn't find any complete examples there either.
Last Visit: 31-Dec-99 18:00 Last Update: 21-Sep-23 6:31