Hi
I am using XmlReader to read string into XElement in aspnet 5 web application and trying to host it in docker container.
It runs fine from visual studio hosted in Kestral. howvere as soon as I host it docker container application startup complains couldn't find XmlReader missing assembly references.
Then I added frameworkasssemblies into project.json
"dnx451": {
"frameworkAssemblies": {
"System.Xml.ReaderWriter": "4.0.0.0",
"System.Xml.XDocument": "4.0.0.0",
"System.Xml": "4.0.0.0",
"System.Xml.Linq": "4.0.0.0"
}
}
Now I don't see any error while application start but now my api controller (rest api) hangs and I dont see any response or no error, it just keeps waiting.
I am exposing the port using Expose and mapping to docker port 80 using -p 80:7600
Can anyone tell me what am I missing here?
Regards
Rohit
Hi
I am using XmlReader to read string into XElement in aspnet 5 web application and trying to host it in docker container.
It runs fine from visual studio hosted in Kestral. howvere as soon as I host it docker container application startup complains couldn't find XmlReader missing assembly references.
Then I added frameworkasssemblies into project.json
"dnx451": {
"frameworkAssemblies": {
"System.Xml.ReaderWriter": "4.0.0.0",
"System.Xml.XDocument": "4.0.0.0",
"System.Xml": "4.0.0.0",
"System.Xml.Linq": "4.0.0.0"
}
}
Now I don't see any error while application start but now my api controller (rest api) hangs and I dont see any response or no error, it just keeps waiting.
I am exposing the port using Expose and mapping to docker port 80 using -p 80:7600
Can anyone tell me what am I missing here?
Regards
Rohit