This question already has answers here:
How do you Screen Scrape? [closed]
(6 answers)
Closed 5 years ago.
I am building a database of images and would like to automate the process. I am somewhat familiar with HTML, and my core program is built in C#. What would be a good library to use that could help me download a page as HTML, and grab the URL links on the page to the desired image? I am familiar with how to download images from URL already, so that does not need to be addressed.
(Library or other language. The database building and the program do not need to be combined.)
You wanted to build a crawler or website spider which will grab the stuff from websites. There is a parsing library called HtmlAgilityPack which will help you to do that very easily. This post will tell you how to use this library.
Hope it helps!
Related
This question already has an answer here:
How do I run a Console Application, capture the output and display it in a Literal?
(1 answer)
Closed 4 years ago.
I'm writing a web app that will use a server executable to do all the work. The program is in DOS. I want to embed the output of the program in the page. I've done this in PHP, but I'm new to ASP.net and C#. I need some native functions that can call and embed the program in the site. The outputs are video and audio files. The program is ffmpeg (cite: ffmpeg.org).
I've been going over the Microsoft Documentation and I'm using VS17 Community. It doesn't seem to say much about adding arbitrary code into a web app produced in the languages. I'm still researching, and I thought it'd be smart to come here.
I need a way to pass the output to the Web App. The outputs are going to vary as well. So there is going to be some definitely variable embedding going on.
https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.process?view=netframework-4.7.2
This is the class that handles outside Processes. Very easy to understand.
This question already has answers here:
MarkdownSharp & GitHub syntax for C# code
(3 answers)
Closed 8 years ago.
I'm working on a website in C# using ASP.NET MVC and am seriously considering markdown for some pieces (notably static pages and blog posts), as it seems a lot easier to work with than HTML. Some posts will have C# code embedded in them. Is there a way to get the goodness of github-flavored markdown to work in a c# app?
You could have a look at this GitHub project.
https://github.com/danielwertheim/kiwi/wiki/Use-with-Asp.Net-MVC
which was sourced from this SO question
MarkdownSharp & GitHub syntax for C# code
This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
How to access web camera settings (like in Skype) using DotNet
I found another question "How to access web camera settings (like in Skype) using DotNet" but it is very old with no answer. I have pretty much the same question.
I am developing a app using SkypeKit and to make it more complete to the user I would like to be able to tap into the webcam/audio/mic settings.
Is there an easy way using C# or skypekit ? & any advice.
Thanks.
You can use DirectShow or a .Net wrapper for it such as DirectShow.Net.
Here are some projects that can help you going:
http://www.codeproject.com/Articles/18511/Webcam-using-DirectShow-NET
http://www.barebonescoder.com/2012/01/finding-your-web-cam-with-c-directshow-net/
This question already has answers here:
Closed 12 years ago.
Possible Duplicates:
How to Convert html web-page to image format in ASP.net web-application
ASP.NET page to image or pdf.
Hi,
I have an aspx webpage. Once that page is rendered, with a button click how can I export it to PDF? What is the process? Do I need an external third party tool to achieve this?
Thanks.
We've had good luck using the iTextSharp library. It's easy to use and the price is right.
http://sourceforge.net/projects/itextsharp/
There are several third party libraries that support this. We have one that provides perfect fidelity and has been optimised for use on the server. Have a look at this blog post.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to capture image from client webcam in asp.net
Hi i want to capture a video using asp.net c# webapplication. How can i do it?
(Just like recording video in facebook)
Can you have any examples plz help me.
I've gone through google but nothing is suitable for me
Not really much to go on is there...
I am assuming you want a user to be able to record video in your app. This is not possible without a plugin on the user's machine, like Flash, because it means accessing hardware on the client machine. Flash has this built in and will ask for it to be allowed to access the user's webcam.
You might want to bwe a bit more clear with your question though...
Use Microsoft Expression Encoder for broadcast, and simple Silverlight of Flash control for presentation on a client side.