For those new to message boards please try to follow a few simple rules when posting your question.
Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
Keep the subject line brief, but descriptive. eg "File Serialization problem"
Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
No advertising or soliciting.
We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
We are using a group of third party webservice dlls in our apps.
I have been trying to develop a .Net Core version of an app, but as soon as it hits the non-core dll, it throws an error loading one of it's dependencies.
System.BadImageFormatException: 'Could not load file or assembly 'System.Web.Services, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (0x80131058)'
I have no control of the webservice source, so I can't develop a core library.
With all the push for Core, I find it hard to believe nobody has found a fix for this. There are a ton of third party libraries out there.
System.Web.Services predate even WCF, and WCF is now being deprecated in favor of .NET Core, gRPC and ASP.NET Core. Microsoft is no longer interested in maintaining legacy technology like Web Services, Web Forms, Web Pages, etc.
If you use one of them, at least maintain an instance of legacy code as a bridge between .NET Core and other frameworks.
I had to dump all that stuff from System.Web.Services and rewrite new ones in the Core format. Frustrating at first but now easy to understand how Core works now. No regrets, my new stuff is better and faster.
But I've manage to find a qualified NuGet package to replace some items like System.Drawing.Common, just took time for research and testing to qualify them which was time consuming. And I found better solutions in other packages.
If it ain't broke don't fix it
Discover my world at jkirkerx.com
Hellow my dears.
i use asp.net core and identity authorization in this.
my side menu is static and I want to create menu and sub menu.my problem is when i hide sub menus of a menu,menu show to user but i want it Do not display.can i use jaquery function to this?
my code is here:
I have an ASP.Net application which is working working fine if I have set up the Project URL as: http://localhost:58799/, but I want the project URL to be http://localhost:58799/IMS, it started throwing me error as in the below, how can I fix it? Any help please.
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information:
Module IIS Web Core
Handler Not yet determined
Error Code 0x800700b7
Config Error Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'Windows Login Handler'
Config File \\?\C:\GitSrsCodes\IMS\IMS.Web\web.config
Requested URL http://localhost:58799/IMS/
Physical Path C:\GitSrsCodes\IMS\IMS.Web\
Logon Method Not yet determined
Logon User Not yet determined
Request Tracing Directory C:\Users\aaleem\Documents\IISExpress\TraceLogFiles\IMS.WEB
72: <!--register windows login managed handler.-->
73: <add name="Windows Login Handler" path="Login" verb="POST" type="IMS.Web.WindowsLoginHandler" preCondition="integratedMode" />
74: <!--these handlers resolve .woff not showing problem-->
This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
If you see the text "There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined", this error is because you are running a .NET Framework 3.5-based application in .NET Framework 4. If you are running WebMatrix, to resolve this problem, go to the Settings node to set the .NET Framework version to ".NET 2". You can also remove the extra sections from the web.config file.
Thank you Richard, under which section of web config should I put it my friend?
Just a Note: And thanks a lot Richard, it is going to be very help since the URL of my local machine and URL on the Server aren't matching, as we are planning to go for the automatic deployments I need to set the URL so that it will not break things because of the URL issues - thanks a lot my friend.
Hi, I've been working on a web portal using ASP.NET Core 3.1 and I keep running into weird errors between Identity and EF Core. I've gone through several complete rebuilds and tons of errors and problems. when I build little web apps or separate Identity and EF Core then everything works just dandy. But when I try to bring them all together in a rather large production web app all of a sudden weird bugs crop up.
I've read that the Identity and EF Core teams work separately and sometimes there are problems between their releases...So I am wondering:
Is ASP.NET Core 3.1 not yet ready for prime time for building web apps?
Is there anyone here that is actually using it successfully in a production environment?
And if so, are there some tricks/suggestions for doing so?
Or should I use Core 2.2? Is that stable enough for production apps?
I know that this is a general question without going specifically into the bugs I've encountered. The bugs are many and variable and the code is too large to summarize here. If no one answers this then that will be my answer. If some people do answer but cannot confirm that they are using it in production then that will be my answer as well. And if some people tell me that I should not be using it right now that will be my answer as well.
In the other case, if people tell me that this is a known problem then perhaps they will be able to point out a workaround. Else I will have to abandon Identity and EF Core and build my own implementations directly. I've been thinking that I should have done this from the beginning, perhaps using Dapper instead of EF Core.
The 2.x "long-term support" version is 2.1, which will be supported until August 2021. The other LTS version is 3.1, which will be supported until December 2021.
I've got a small custom CMS template which we use for creating basic sites for some of our customers, and for our own websites. It started life in 2.1, and the latest version is in 3.0; I haven't encountered any significant issues. It's using the Microsoft.AspNetCore.Identity.EntityFrameworkCore package, matching the version of the package to the version of .NET Core in the project.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
I started with V2.0, and made it to V2.2 and still using it. I have no issues with V2.2 at all, everything works together and it's durable/reliable. I thought about moving up to V3+, but wanted to finish my project on a stable platform first before moving up.
But I don't use Identity and EF Core anymore, threw that out the window when I figured out that it's too complex to keep up with. It was more trouble than it was worth so I just went with Google SignIn with OAuth2 that I wrote on the side. I ended up writing code to support GMail and Signin part of the Google suite which was available as a NuGet package with little documentation.
If it ain't broke don't fix it
Discover my world at jkirkerx.com
On a current project which is a large system that consists of multiple microservices, we use .net core 3.1 since Richard Deeming correctly mentioned that it has long term support by Microsoft unlike .net core 3.0. It worth mentioning though that we don't use Identity and rely on your in house authorization mechanism. There are no problems with EF Core though.
could someone advise me what the best technology (SilverLight, etc.) I should use to create a "drawing layout" where I could to insert vector objects (see the link - individual dimensioned blocks, that is air handling unit from blocks) based on user input parameters and the possibility to edit them backwards (parameters, dimensions, ...), add dimensions, etc. ?? http://www.computair.co.uk/Content/images/wintadsprocess/2x3Image5.png[^]
Vectors must be used because I need to know the exact placement of blocks relative to each other, know the exact dimensions, etc. to use for further calculations, create drawings, export DXF files, etc.
In fact, it is a conversion of a desktop application to a web application.
Mitch, if you want to work with vectors in the modern web, you should look into using Scalable Vector Graphics (SVG). As SVG images are described as vectors, they can be described in code and can become surprisingly sophisticated[^] .
You could use SVG with either but, to be honest, I'd recommend .NET Core everytime. The fact that I can host it on just about any platform I want, as well as the speed improvements are a compelling argument in its favour.