6
Answers

How to create a service like web api which contineously runs

Mark Tabor

Mark Tabor

1y
700
1

I want to create a web api which will accept one parameters like SocialSecurityNumber and it will check a database if it exists then it will push record into a new table if it did not exists in that table then it will pop it out from that table and this service need to be run everything like a cron job with no specific time , What is the best way to achieve this using .NET MVC.

Answers (6)
0
Krunal Barot

Krunal Barot

351 4.9k 992.1k 5y
Sorry for the late reply.
 
Create one Normal User(NON-admin) "PrinterShare" on your windows 7 system. Set password for the user.
Go the control panel. Device and Printers. Select the printer you want to share. Go to printer properties and then Security. Add the "PrinterShare" user and set allow print and Manage this printer under permission.
 
Share the USER "PrinterShare" and Password to users who is using the printer.
 
 
for 2nd option.
 
go to Network and Shareing center in control Panel then Change Advanced sharing setting. below option select Turn off password protected sharing.
 
 
 
Let me know if any other issue. 
0
Dong Lam Trien

Dong Lam Trien

798 986 158.6k 5y
Can you explain the setup step by step ?
0
Krunal Barot

Krunal Barot

351 4.9k 992.1k 5y
Your network is non-domain. you have to allow user to connect to you system on netwrok which promt for username - password. you can use "PrinterShare" as regular user - Non admin - which allow user to still connect to your system on LAN. you can store that username password on other systems. Under printer security allow that user to print or manage printer rights depending on your requirement. That way you dont have to share your admin password with user. This gives you secure printing.
 
or Change advanced sharing settings and select Turn off password protection option from Password protected sharing. This allow all user to connect to your system on LAN without password. 
 
Thank you