I have to implement a new feature in my existing asp.net website, Actually in my website one can take online test, my further requirement is after completing the test i have to capture the video of candidate for 30 sec(approx) also, store it and play it again when required
AnyOne can help me PLEASE, Thanks in Advance
For starters, don't put repetitive server code in a web application because then you will need something to trigger the process anyway.
Why not investigate using a Windows Service or an application that is setup to be run by the Windows Task Scheduler.
In that case, I will have to suggest a very very dirty workaround for tackling this problem.
1. Have a page that will do the required task. do the required task only when a specific query string is present. This way you will ensure that only you know this actual link that will perform this operation.
2. Now whenever you access this page with this specific query string this task will run. you can do it manually but you can still automate it. lets see how:
3. create a simple winform application with webbrowser control in it and navigate it to the required page with the specific querystring. all hard coded in the page_load. so when application opens up your task is done. close this app in webbrowser navigated event.
4. Now configure a windows service on your PC that will run this application on a specified time.
P.S. all this assuming that the task you need to perform is not time consuming otherwise you will get timeout problem.
Note: I am not recommending this approach. it is very very bad. but in desperate times such workarounds do work.
Every now and then say, "What the Elephant." "What the Elephant" gives you freedom. Freedom brings opportunity. Opportunity makes your future.
As you are using shared hosting, it is not possible to connect to windows service as this will not be allowed.
Create a web page which will do the task (as per your requirement - say adding some data or sending mail etc). Use query string to specify your parameters. Don't forget to encrypt the querystring value for security concern.
Now the interesting thing, create a windows service in your local machine which calls the above mentioned aspx page with querystring value.
Thus the page is fired in background and the code behind of the page will do the rest.
I have an ASP.Net application and a WCF Service running on the same machine in IIS7. My machine name is "mmmmmmm250D" my user name is "uuuuuuu250". When I am running my applications(asp.net and wcf service), I am seeing that these applications are running under the user account "\$". This is taken automatically. This account is assigned when ApplicationPoolIdentity is "LocalSystem" and "NetworkService" in both the cases.
Is there any way that I can make these applications to run under my user account as I am admin for this machine where IIS is installed. The applications should run under account looks like "\uuuuuuu250". Please help me I am struggling with this for a while.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
I want to display some fairly simple graphs and charts. For example, horizontal bar chart with 25 bars.
Then, I want a user to have the ability to resort the bars and upon completion (click event on button or something) write the results back to a database.
Here's an example: List 10 car companies in a bar chart (horizontal) from 1 to 10. User thinks that the car company at 8 should be ranked #3. They move the bar to the #3 spot and the bar at #3 goes to #8. User is done and clicks "Submit". Now create a unique id for this session and write to a database.
Can anyone tell me what tools/languages would work well with this?
I don't know who downvoted this, but I have voted you back up. Whoever it was their rep was small, so my upvote will more than counter.
First, jquery alone can't do this for you, it needs to get the information from the server (assuming the files are on the server). You'll need to do some googling as a full solution will take time but:
On the server you need to create a JSON result with the paths of the files
On the client side you need to use jQuery's ajax/[^] function to get the information
As you are using AJAX I'd suggest the server responds with the next Image url (don't forget loops round at the end). This means the Client needs to send the current url (or some identifier) so the server knows where the client is in the list. If an empty or unknown url is passed to the server, return the first element, that way the slideshow can bootstrap itself easily. If you are using MVC3/4 the server component is easy, these can return a JSON result directly. With ASP.NET webforms, it is a little harder (see http://stackoverflow.com/questions/2422983/returning-json-object-from-an-asp-net-page[^]) but not very hard.
There is a reasonable amount of work in all this, it might be worth getting one of the many on-line sliders and taking them apart to see how they work (or just using them if one fits!).
But I'd also mark the cookies expired, and check for valid cookies on every page. Also use no-cache and expires directives for every page.
Last Visit: 31-Dec-99 19:00 Last Update: 26-Apr-15 12:02