Giter VIP home page Giter VIP logo

Comments (10)

msawczyn avatar msawczyn commented on May 19, 2024

@TheMegaMatt - can you please verify that it's not showing up at (or near) the bottom of the list when the category tree is on "Visual C# Items"? That's what I see in my installation. I agree that it needs to be in another category -- I believe "Data" would be the most appropriate -- and I'll put that on the list to make that happen. But it should be in "Visual C# Items" for you currently.

from efdesigner.

TheMegaMatt avatar TheMegaMatt commented on May 19, 2024

@msawczyn As i said Category wasn't showing up the item is at the end of the list or showing up after a search.

from efdesigner.

TheMegaMatt avatar TheMegaMatt commented on May 19, 2024

As of the latest update the Template is not showing again in any category. Testyed on a ASPnet Core app

from efdesigner.

msawczyn avatar msawczyn commented on May 19, 2024

@TheMegaMatt Thanks for the update. I see the issue in my Visual Studio installation as well. Since the item lives in "Visual C# / Data", it isn't showing up when you add items to an ASP.NET Core application -- "Data" isn't one of the categories, so it's filtered out. That's true for a "Web Site" project as well, but not for an old-school ASP.NET Web Application, nor for any of the other project types.

Can you please verify that, in your installation, you can add the item in a project type other than ASP.NET Core?

Thanks.

from efdesigner.

msawczyn avatar msawczyn commented on May 19, 2024

Accidentally closed.

from efdesigner.

TheMegaMatt avatar TheMegaMatt commented on May 19, 2024

from efdesigner.

msawczyn avatar msawczyn commented on May 19, 2024

@TheMegaMatt Great. If you concur, I'm going to call this an ASP.NET Core problem and close the issue. I'm updating the documentation in the wiki, so I'll make a note there that ASP.NET Core apps (as well as Web Site projects) don't allow this item type.

I even tried adding it manually, by creating it in a different project and adding as an existing item, but the parenting in the project tree went all wrong. In my experience, the team still has a lot of work to do on ASP.NET Core web applications ... this is just another one for their bug list.

from efdesigner.

TheMegaMatt avatar TheMegaMatt commented on May 19, 2024

from efdesigner.

msawczyn avatar msawczyn commented on May 19, 2024

@TheMegaMatt If it's possible, I don't know how to do it. ASP.NET Core web applications change the meaning of the "ProjectType" and "ProjectSubType" elements in the template definition (https://msdn.microsoft.com/en-us/library/5we0w25d.aspx). Normally, we list the project type as the language (CSharp) and the subtype as the category under that (Data, in this case). The web apps do that in reverse, indicating that the project type is Web and the subtype is the language.

As near as I can tell, there would have to be a separate installation for that, with a separate template ID. While this may be possible, it would be a bit of a pain at this stage of the game. I will certainly add it to the TODO list, though.

The best thing, overall, is to create a library for the persistent entities so that they may be included into multiple projects. Just because the requirements only state that the hosting application is a web app, that doesn't mean that later there may be a console app, or another web app (say, an API app) or even a Windows app that might need to use those entities. Pinching them off into their own library now saves lots of time down the road.

Thanks for helping me work through this! Pointing out the initial problem with the bug surrounding the Pluralization service was a tremendous help (I wouldn't ever have seen that), and I wouldn't have noticed the ASP.NET Core issue for quite a while, I'm sure. I owe you an espresso.

from efdesigner.

TheMegaMatt avatar TheMegaMatt commented on May 19, 2024

from efdesigner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.