Superior Consulting Services (SCS) is a Microsoft Gold Certified technology firm providing innovative solutions that enable our clients to solve business problems. We use Microsoft products and tools to provide custom solutions to small- to medium-sized businesses in the Twin Cities, as well as large companies in the area and across the U.S.
Each SCS challenge will require the user to solve a problem and present their approach through a coded solution. All questions are designed to be solvable by mid-level C application developers in one hour or less.
To perform effectively as a C software application developer, one must be acquainted with various facets of the C programming language. To test the skills of application developers, Superior Consulting Services (SCS) offers a series of technical coding challenges designed to challenge and educate C application developers. This challenge addresses C basics and presents SCS sixth challenge:MVC 5 ASP.net C Controller method to handle JSON request.
In the event of a tie between two or more winning solutions, the first solution received will receive the prize; however, all submitters with correct solutions will be recognized.
The following code supports this challenge.
This challenge will involve writing a C Controller method that will handle a response from a JSON formatted web request from a Razor View Page and returning the appropriate response, a list of strings, back to the web page. The request is generated from an htmlChangeevent generated from aSelectelement.
The challenge will involve embellishing the following MVC 5 controller method.
The following is an AJAX and JQUERY embedded C Razor View Page which submits the request to the controller.
The controller method must handle the JSON formatted request which passes a string to the controller method. The method must then take the submitted string, perform a database operation, and return the result (list of strings) in JSON format, back to the Web Page. The database operation is NOT part of the challenge.
When embedded into a C application, the method must compile, build and run without errors or warnings.
Reponses to Challenge 6 should be received by 5:00 pm CDT, August 31 , 2015
The MVC 5 controller method must be written in C and contain all appropriate attribution, decoration, typing, and punctuation. Please use the Controller method template above as a starting point. Do NOT need to define or embellish the _bidMapper.GetString method.
An applications user interface needs to populate an HTML Select element based upon selection of a data element in another HTML Select element. The selection, in string format, is sent to the server. The server responds with a list of strings in which to populate the select box.
Challenge 6 MVC 5 C Controller method to handle JSON request
Employees of SCS are not eligible to participate in the coding challenge.
Contestant challenge submittals should be emailed , Subject Line
The best solution submitted will receive an Amazon gift certificate worth $25.00 and have the winning solution, along with the winners name, on the SCS website: