remove information when connecting to web api [closed] - c#

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
Wrote web api on asp.net. When accessing it, information about the server is displayed, how it can be removed.
Why did you close the question? It contains all the necessary information.

Go to the Controllers folder and look for the Home controller there you will find a method called by default Index delete that entry and remove the code from Views/Home/Index.html and Views/Shared/_Layout.html.

Related

Send request to plugin and get result in C# [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 11 months ago.
Improve this question
I have software that takes your request, And I want to control requests with the plugins.
Fore example console writes: Enter Request: and i write time
well, Now I want the software to check if any plugin supports this command and then turn back the time and more (day, mouth, list of plugins, ...).
I looked at other sources but could not implement the project.
I hope someone can help me. :) Thanks.
I think you can adapt this MS tutorial and get what you want.
https://docs.miosoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support
It shows how to load pluggins and execute. From what you are describing this is what you are looking.

FTP upload files from subfolders [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I have problem with FTP upload files from subfolders.
How I can resolve this problem.
You have mixed up the two requests now. First carry out one request, then begin the other.
You have to open your local file, not the ftpFolder:
FileStream stream = File.OpenRead(localFileName);
Also, you never execute request1 in your current version.
And finally, why do you look for filename from ftpFolder? Isn't that just the remote name?

Can my software send data to my site and read data? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Can my software send information to my site and read information off my site?
Imagine that someone opens a copy of my software. The IP address of that device send to my site. So I can see if that person is a friend or not. If that person is not a friend, I will set a variable to false.
The software will then read it as false then the software will close out.
Is this possible to do? If so, how can I do this?
You need to add a web service on your site then you can call the service and get an answer. You can also create a simple web page that see a white page with the result true or false. Consider using a WCF service so that it can expand if you needed more in the future.

Is there a way to check if a page has been landed on from an external source [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Using c#, I m looking to personalise a page if its the first page the user has come across.
I'm not concerned whether the solution is bulletproof because the feature is purely asthetical and can degrade.
It must use be an ASP.NET method, not JavaScript.
with
Request.UrlReferrer.Host
you can get the URL of the client's previous request. But this won't work with https from external pages
I think you should use this
Url referel
This property contains previous page url, so you can check if current request is from your site.

sharepoint in Light switch Datasource Error [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
when i connect share point data source in my light switch HTML application have one exception
listdata.svc
does not appear to be a valid site SharePoint 2010 (or later) with an installation of WCF Data Services is required.
I think it's an authentication error to connect to the service.
the service actual path is :
http://[YourSharePointSite]/_vti_bin/ListData.svc/
make sure you able to access this path and you enabled external access to it

Categories