How can i initialize my DB connection on start of Webservice

柔情痞子 提交于 2021-02-11 14:56:36

问题


I have a Webservice written in VB.net which has several endpoints and i register the Routes in my WebApiConfig.vb. As there is no Startup page i am not sure where i can make the call on startup to initialize my db connection.

来源:https://stackoverflow.com/questions/60659630/how-can-i-initialize-my-db-connection-on-start-of-webservice

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!