Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iForm interface minimal requirements #8100

Closed
davidekarasek opened this issue Aug 15, 2018 — with docs.microsoft.com · 8 comments
Closed

iForm interface minimal requirements #8100

davidekarasek opened this issue Aug 15, 2018 — with docs.microsoft.com · 8 comments
Labels
Pri1 High priority, do before Pri2 and Pri3 Pri2 Priority 2 Source - Docs.ms Docs Customer feedback via GitHub Issue
Milestone

Comments

Copy link

What are the minimal assembly requirements for the iForm interface. When I attempted to use it via nuget install it dragged in tons of assembly dependencies that totally bloated our heretofore simple and effecient .Net Core API. Also what's needed is an example that includes an HTML5 test harness, preferably using jQuery AJAX.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@guardrex
Copy link
Collaborator

Hello @davidekarasek ... This topic is slated for attention on #5331, but we don't have an ETA on that work yet. I recommend you post your question to a support forum, such as Stack Overflow, or support chat, such as Gitter or Slack. I'll add your issue to #5331 so that your inquiry here can be taken into account when the topic is updated.

@guardrex guardrex added the 2.0 label Aug 15, 2018
@guardrex guardrex added this to the Backlog milestone Aug 15, 2018
@guardrex guardrex added the Source - Docs.ms Docs Customer feedback via GitHub Issue label Aug 15, 2018
Copy link
Author

Please point me to ANY solution that works NOW that observes a separation of concerns HTML5 client and ASP.Net CORE 2.1 API. Thank you.

@guardrex
Copy link
Collaborator

guardrex commented Aug 15, 2018

Beyond what I did with file uploads and the Razor Pages tutorial (https://docs.microsoft.com/aspnet/core/razor-pages/upload-files) that does include an example of using IFormFile with an ASP.NET Core app (there is a sample), I can't provide additional guidance. I think Internet resources probably do exist somewhere on this subject, but I'm not personally aware of them, as I haven't looked.

Your best bet is ask on a support forum, such as Stack Overflow. Believe me, we do want to see the existing File Uploads topic overhauled/re-written. It's an issue of priorities. We're a small team, and we're 🏃🏃🏃🏃🏃😅 with high priority issues at the moment.

Take a look at the one I did for the RP tutorial app and see if that at least provides some generally helpful guidance for your scenario. The fundamental concepts described in that topic should apply broadly to file uploads. However, file uploads is definitely a devil's-in-the-details subject, and that topic outlines some rather specific specifications that might not match exactly what you're trying to do in your own app.

Sorry I can't be more help. My compatriot doc authors monitor these, so they'll chime in if they can provide additional assistance.

Copy link
Author

Thank you. What was the standard way of posting files in the API before this latest tech?
Does that still work?

@guardrex
Copy link
Collaborator

For me, it would have been using the old FileUpload server control in a webforms app. I mostly worked in webforms/VB before moving to MVC/C# not too long before getting into ASP.NET 5 lol .... er .... I mean ASP.NET Core. 😄

Back in those days, I took full advantage of all the plug-n-play server controls and AjaxControlToolkit goodies that made it easy/fast to whip up apps. Since those don't exist for Core, that's not going to work.

I speculate that some of the third parties, like Telerik, have a plug-n-play AJAX control that can be dropped into an app. I'm very confident that there are blog posts out there that discuss file uploads with Core apps. There wasn't anything on Razor Pages at the time I wrote that topic ☝️, but I would hazard guess that there are a few blogs out there that have broached the subject of file uploads for RP as well.

This convo is monitored by the other doc authors; so if they have anything to add, they'll jump in.

@davidekarasek
Copy link
Author

davidekarasek commented Aug 18, 2018 via email

@Rick-Anderson Rick-Anderson added Pri1 High priority, do before Pri2 and Pri3 Pri2 Priority 2 labels Oct 19, 2018
@Rick-Anderson
Copy link
Contributor

Thanks for contacting us.
We don’t have the resources to invest in this area, so we are closing the issue. Should your request generate enough 👍 responses, we’ll reconsider.

@davidekarasek
Copy link
Author

davidekarasek commented Feb 25, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pri1 High priority, do before Pri2 and Pri3 Pri2 Priority 2 Source - Docs.ms Docs Customer feedback via GitHub Issue
Projects
None yet
Development

No branches or pull requests

3 participants